Well it should restart the game when you press Replay and go to the Initialize method. It does that except when you press Replay, the pop up doesn't disappear and another pop up appears as well. The...
Type: Posts; User: nigerianmahogany
Well it should restart the game when you press Replay and go to the Initialize method. It does that except when you press Replay, the pop up doesn't disappear and another pop up appears as well. The...
Yeah they print out more frequently later once I slowed down the delay. It should have been false when it hit the end of the board but it didn't and they were all true. I have no idea how many timers...
It prints something like this:
aP @ 1403042040387 true
aP @ 1403042040548 true
aP @ 1403042040709 true
aP @ 1403042040870 true
aP @ 1403042041031 true
aP @ 1403042041192 true
Yeah it prints over and over constantly while I'm playing.
Nope they print once every time I press the replay button. But I think the timer fires faster or something because every time I press Replay, the initial snake head moves faster and faster. It may...
Complete program is as follows:
runGame.java
import java.awt.*;
import javax.swing.*;
Alright this consists of two problems I have with my recreation of Snake game in GUI. The first is that when the game ends, I want a pop up that gives the users the option to replay or quit. However,...