Skip to content

shankarsiddharth/GameEngine2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Objects

  • Green Cube - Player
  • Grey Borders - Walls
  • Red Cubes - Obstacles
  • Orange Cube - Collectible
  • SkyBlue Cube - Goal / Flag

Controls

  • W - Move Up
  • A - Move Left
  • S - Move Down
  • D - Move Right
  • Enter Key - Start/Restart the Game

Gameplay

The objective is to move the Player to Flag/Goal by avoiding the Obstacles and optionally collecting the collectibles.

Game Win State

If the Player reaches the Flag/Goal, the Player wins the game.

Game Lose State

If the Player collides with any Obstacles or collides with the Wall / Level Boundaries, the Player loses the game.