Turtle game rev. 2 (by Pistabá)

This is my implementation of robot turtles board game that I used to play a lot with my son. Since the original version was not challenging enough for him I created some advanced levels that he could play all over the 8x8 board. Then I started to think about code it in some languages. Later micropython came across on a Hacktivity 2019 badge and I decided that this is going to be the 'myfirstpythonproject' right after hello world.

Help for the game:

You have to reach the diamond with your turtle. The turtle can turn left and right, and it can move ahead. There are two kind of castles on the board: solid rock and ice. The ice castles can be melted using laser but only if the turtle stands right in front of it. The melted ice castle turns to a puddle. The turtle can move through puddles and it also can push crates over them. If there's a crate in front the turtle, it can push it forward if there's nothing behind the crate (e.g. free space or puddle - melted ice castle). The turtle can push only one crate, it cannot push two or more crates even if they are in a row and there's free space behind the last one.

during the gameplay:

LEFT - turn turtle left

RIGHT - turt turtle right

UP - move ahead/push crate

DOWN - undo previous move

ENTER - fire laser (to melt ice castle)

UP + RIGHT - minimap screen

DOWN + LEFT - exit level

settings:

Sound: ON or OFF. Turn it 'ON' at your own risk since the buzzer sound 'quality' is simply terrible.

Theme: LIGHT or DARK (aka night mode - unfortunately it's not really useful on this e-ink)

The game was developed on a badge with these versions: sys.espdif_version: v3.1-rc1-53509c7b sys.implementation: 3.2.24 sys.version: 3.4.0

If you like the game buy Robot Turtles board game and play with kids to teach them to code. ;-)

some icon credits:

settings - Tomas Knop flaticon.com Icons made by Tomas Knop from www.flaticon.com
exit sign - Post-1982 Japanese exit sign ("running man") designed by Yukio Ota in 1979.
Category: games
Status: working
Vote Comment Date
No votes yet :(
Compatibility
  • hacktivity2019: working
Dependencies
  • No dependencies found
Dependants
  • No dependants found
File Last edited Size in bytes
__init__.py 2021-04-26 23:35:20 16060
README.md 2021-04-26 23:43:57 2255
gears_light.png 2021-04-26 23:35:20 1650
gears_dark.png 2021-04-26 23:35:20 1491
j_8px_dark.png 2021-04-26 23:35:20 93
j_8px_light.png 2021-04-26 23:35:20 105
j_16px_light.png 2021-04-26 23:35:20 137
j_16px_dark.png 2021-04-26 23:35:20 135
k_8px_dark.png 2021-04-26 23:35:20 5683
k_8px_light.png 2021-04-26 23:35:20 5677
k_16px_dark.png 2021-04-26 23:35:20 182
k_16px_light.png 2021-04-26 23:35:20 178
l_8px_light.png 2021-04-26 23:35:20 111
l_8px_dark.png 2021-04-26 23:35:20 107
l_16px_dark.png 2021-04-26 23:35:20 115
l_16px_light.png 2021-04-26 23:35:20 131
p_8px_dark.png 2021-04-26 23:35:20 96
p_8px_light.png 2021-04-26 23:35:20 109
p_16px_dark.png 2021-04-26 23:35:20 124
p_16px_light.png 2021-04-26 23:35:20 138
playgame_dark.png 2021-04-26 23:35:20 429
playgame_light.png 2021-04-26 23:35:20 500
0_8px_dark.png 2021-04-26 23:35:20 102
0_8px_light.png 2021-04-26 23:35:20 5435
0_16px_dark.png 2021-04-26 23:35:20 158
0_16px_light.png 2021-04-26 23:35:20 163
1_8px_dark.png 2021-04-26 23:35:20 101
1_8px_light.png 2021-04-26 23:35:20 102
1_16px_dark.png 2021-04-26 23:35:20 179
1_16px_light.png 2021-04-26 23:35:20 170
2_8px_dark.png 2021-04-26 23:35:20 102
2_8px_light.png 2021-04-26 23:35:20 107
2_16px_dark.png 2021-04-26 23:35:20 155
2_16px_light.png 2021-04-26 23:35:20 163
3_8px_dark.png 2021-04-26 23:35:20 100
3_8px_light.png 2021-04-26 23:35:20 107
3_16px_dark.png 2021-04-26 23:35:20 148
3_16px_light.png 2021-04-26 23:35:20 171
b_8px_dark.png 2021-04-26 23:35:20 96
b_8px_light.png 2021-04-26 23:35:20 95
b_16px_dark.png 2021-04-26 23:35:20 116
b_16px_light.png 2021-04-26 23:35:20 113
ce_12px_dark.png 2021-04-26 23:35:20 119
ce_12px_light.png 2021-04-26 23:35:20 178
cf_12px_dark.png 2021-04-26 23:35:20 123
cf_12px_light.png 2021-04-26 23:35:20 190
exitgame_dark.png 2021-04-26 23:35:20 434
exitgame_light.png 2021-04-26 23:35:20 426
turtle_game_qr_light.png 2021-04-26 23:35:20 11642
turtle_game_qr_dark.png 2021-04-26 23:35:20 11643
turtlegame.py 2021-04-26 23:35:20 18413