Steps to reproduce: 1. Run Main.java 2. Press any Arrow Key to start the game Actual Results: The score bean only appears once Expected Results: The score bean should appear each time after a fixed number of normal beans have appeared.
Game.java Modified an if statement ( missing an & sign before): if (time >= SConstant.SC_SCORE_BEAN_DEFAULT_APPEAR_TIME && snake.getScore() > prevScore) { bean = ScoreBean.getInstance(); countTime = SConstant.SC_SCORE_BEAN_DEFAULT_DISAPPEAR_TIME; }