Course curriculum

  1. 1
    • Google Subtitles Instructions

    • 1. Introduction and getting things installed

    • 2. Creating our game window

  2. 2
    • 3. Drawing a square

    • 4. Getting the snake to move (in a fixed direction)

    • 5. Accepting keyboard input and moving the snake

    • 6. Getting the tail to follow the snake

    • 7. Adding logic to prevent us from going back on ourselves

  3. 3
    • 8. Generating apples!

    • 9. Consuming apples

    • 10. Increasing length of snake when eating and scaling everything up

    • 11. Rendering the score on screen

    • 12. Drawing a basic UI for the score

  4. 4
    • 13. Wall collision detection

    • 14. Collision with self

    • 15. Resetting game when we crash and setting best scores

    • 16. Persisting best score between application runs

  5. 5
    • 17. Using retro colours!

    • 18. Speed up snake when eating apples and adjusting other variables to tweak gameplay

    • 19. Adding sound effects

    • 20. Outro

    • 21. Bug fix! Fixed issue where snake was crashing before bottom of the screen