3-player game

Keypad Racer

The racetrack loops: it is neverending.

A turn-based racing game; recreation of a pen-and-paper game I enjoyed back at school.

It supports multiple players sharing a keyboard. Bring your friends and have fun!

python -m pip install -r requirements.txt
python game.py
There's a tutorial, but it doesn't tell you about the title screen:
  • When holding a button with the mouse, press a key to change the keyboard mapping.
  • Press a player key to pick a color.


Linux: ModernGL for Python 3.9 doesn't have published wheels, so pip install might not work for you. You can:



Give this entry an award


Ratings (show detail)

Overall: 3.2
Fun: 3.3
Production: 3.3
Innovation: 3

40% respondents marked the game as not working.
Respondents: 3


File Uploader Date
Clarified README
encukou 2021/09/26 17:19
3-player game
encukou 2021/09/26 00:41
encukou 2021/09/25 22:56
Title screen
encukou 2021/09/25 22:55

Diary Entries

Keypad Racer

I heard it's good to write a diary entry, so people can add comments (when something goes wrong, for example)... But let me make it a diary.

I felt the chosen theme was too generic, and I didn't come up with a game idea to match the theme. So I made a list of games I wanted to make and picked one that felt most appropriate.
Sunday & Monday, I learned a lot about GLSL shaders. Mostly I learned from mistakes, but I did manage to draw some nice-looking lines.
Tuesday & Wednesday, I made a level editor – for a game that, in the end, only has one level. I learned a lot about Bézier curves in the process.
Thursday, I implemented split-screen (since it felt that adding it to a finished game would be hard), and started on a tutorial. For this I learned about signed distance field fonts. (I didn't really implement this correctly, and I used a bad font for it, but who's counting.)
Friday (wow, Friday already?) I added collision detection and lots of animations.
Saturday I finished the tutorial. And I added a title screen, sound and an info display, so those are all quite rushed. I didn't manage to add music before the cutoff.

Overall, I learned a lot!

1 comment