Tuesday, October 13, 2015

Programming blog/YouTube series with simple games

Programming blog/YouTube series with simple games (see Max Wihlborg for HTML5 games). Aim: There are lots of challenges that help becoming a better programmer and it is more fun coding games, i.e. it is more probable that I will keep my motivation and have a working product in the end.
  • Snake
    • Difference between real world snake and game snake: Real world snake's body segements persist while the snake moves. Game snake segments are modeled as a list and whenever the snake moves, a new segment is added to the end of list and the first segment is deleted from list, which makes it easier to code. If we want to code the real world snake, we have to keep the segments and update positions of each snake segment when a motion occurs (which is harder to code).
  • Flappy Bird
  • Pong
  • Space Invaders
  • Tetris
  • Asteroids
  • Lunar Lander
    • C# code
    • Assembly code
    • Scrolling map
    • Zoom when close to terrain
    • Change gravity (Moon, Mars, Earth, Saturn)
    • Show minimap at the top (like Defender)
    • Autpilot
  • PacMan

No comments:

Post a Comment