Making Snake in Java: Part 3 - Finishing Logic
In this poorly made tutorial consisting of a lot of awkward pauses and corrections, I will finish off the move method, making it so our snake will be able to move in relation to our direction integer variable that we set up at the beginning of the tutorial. Some documentation: LinkedList Push: http://docs.oracle.com/javase/6/docs/api/java/util/LinkedList.html#push(E) Switch Blocks: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html Thanks for watching! http://brandonsoft.com Discuss this video/view the source code: http://bpforums.info/viewtopic.php?f=40&t=917&sid=6d8f8423508b7418b44067e1fcc1f847
@linguagem-de-programacao • SETREM
Ainda não temos comentários aqui
Seja o primeiro!