test the wiki

test3

<<float side=center>> = Snake game = <</float>>

The premise to this game is simple

  • The game takes place in an open area
  • You can choose from 3 speed options and 3 levels
  • The snake is made of segments that follow one another; each segment will effectively take the same path as the head (front of the snake)
  • The snake is always moving - the player simply changes the direction of movement
  • Randomly placed "food" appears on the map
  • The size of the snake is growing by eating food
  • When the snake touches the food, it consumes it. The length of the snakes body increases, and the player gains a point
  • If the snake touches another part of its own body, or any obstacle in case of lvl-2 and lvl-3, the health points decrease

Game specifications

1-*Map* The nokia 5110 lcd size is 84*48 pixels Our map consume the the full size of the screen Every game object have a height and width of 4 pixels Every segment of the snake is 4 pixels Every obstacle is 4 pixels height and width too In case of level 1 there is no obstacles In case of level 2 there are 6 obstacles 3 at row 16 and 3 at row 32 In case of level 3 there are 12 obstacles 6 at row 16 and 6 at row 32 The score bar is at the top of the screen with height of 12 pixel The heart at the score bar indicates the heath left for the player to die The cup and the score bar indicates the score the player has so far

2-*Snake* The original snake size is 3 segments The snake moves 4 pixels at the time The snake position always dividable by 4 to be at the level of the game object like obstacles and food The snake grows by one segment by eating the food If the snake hit the wall it will appear from the opposite direction If the snake hit any segment if his body the health will decrease by 1 and the size of the snake will be back to the original size If the snake hit any obstacle the health will decrease by 1 and the size of the snake will be back to the original size

3-*Food* The food size is 4 pixels The food position is generated randomly every time the snake consumes it The food can not generated at any game object position like the snake body or the obstacles

4-*Gameplay* The player can move the snake by buttons or the joystick The snake always move and you can change the directions using the controls The objective of the game is to eat the food as much as you can and avoiding hit the body or the obstacles

  • Welcome message
  • Choosing between the 3 options of speed
  • Choosing between the 3 levels
  • Press Start and enjoy
    • Use X and B buttons to choose

Controls

<<float side=center>>
== CONTROLS - MENU ==
{{https://os.mbed.com/media/uploads/FaisalFyed/menuimage.png}}

== CONTROLS - GAME == 
{{https://os.mbed.com/media/uploads/FaisalFyed/ingameimage.png}}
<</float>>
 
=== screenshots from the real board and the game ===
<<float side=center>> 
This picture displays the start of the game and the welcome message.
{{https://os.mbed.com/media/uploads/FaisalFyed/af6e5375-f1ac-4e19-9c0c-d487a7919c22.jpg}}

This picture displays the game at level 1.
{{https://os.mbed.com/media/uploads/FaisalFyed/leveloneimage.jpg}}

This picture displays the game at level 2.
{{https://os.mbed.com/media/uploads/FaisalFyed/leveltwoimage.jpg}}


This picture displays the hardest level of the game level 3.
{{https://os.mbed.com/media/uploads/FaisalFyed/0463804d-a0cc-4878-b8d1-8c890ee5f10b.jpg}}
<</float>>

screenshots from the real board and the game

<<float side=center>>
This picture displays the start of the game and the welcome message.
{{https://os.mbed.com/media/uploads/FaisalFyed/af6e5375-f1ac-4e19-9c0c-d487a7919c22.jpg}}

This picture displays the game at level 1.
{{https://os.mbed.com/media/uploads/FaisalFyed/leveloneimage.jpg}}

This picture displays the game at level 2.
{{https://os.mbed.com/media/uploads/FaisalFyed/leveltwoimage.jpg}}


This picture displays the hardest level of the game level 3.
{{https://os.mbed.com/media/uploads/FaisalFyed/0463804d-a0cc-4878-b8d1-8c890ee5f10b.jpg}}
<</float>>

Conclusion

The game is very challenging specially at level 3 and the more you are a good player the more it will be difficult as the size of the snake grow with eating food, and the option that allow the player to play with buttons and the joystick make it more fun i really enjoyed playing this game the same i enjoyed implementing it.


All wikipages