MultiGames With Raspberry Pi
by Bohrmaschine38 in Workshop > Energy
22 Views, 0 Favorites, 0 Comments
MultiGames With Raspberry Pi

Thanks to our outstanding artificial intelligence, we can program faster than ever before. If you combine this with a Raspberry Pi model and a sense hat module, you can quickly program a few games yourself and play them yourself.
Supplies




You will need the following equipment:
- Raspberry Pi 5 ( +/- 50$) -> https://www.raspberrypi.com/products/
- Sense Hat -> https://www.raspberrypi.com/products/sense-hat/
- Micro HDMI to HDMI (Amazon basics +/- 8$) -> https://www.amazon.com/s?k=hdmi+micro+to+hdmi&__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=33M3RLEKZA4YG&sprefix=hdmi+micro+to+hdmi%2Caps%2C155&ref=nb_sb_noss_1
- Micro SD -> https://www.amazon.de/s?k=micro+sd&__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=1Q2SWN68GED79&sprefix=micro+sd%2Caps%2C93&ref=nb_sb_noss_1
- Keyboard
- Mouse
- Screen
- Chat GPT -> https://chatgpt.com/
Preparation

First, you need to connect your keyboard and mouse to the Raspberry Pi, then connect the screen with the HDMI micro to HDMI cable and don't forget to insert the micro sd
Develop Program

I've already prepared two games, but you're welcome to program more.
My first game is Snake, as it's very well suited to the 8x8 display.
Downloads
Main Part




- Open the terminal.
- Type nano snake.py and press Enter.
- Paste your Python code.
- Press Ctrl + X, then Y, then Enter to save.
- Type python3 snake.py and press Enter to run the program.
or
1. Click the Raspberry Pi logo in the top left corner.
2. Click Programming.
3. Select Python 2 or, if available, Thommy.
4. Create a new folder (the name should end with .py!).
5. Add the program.
Now the Playing Can Begin

Have fun ;)