Skip to content

addrian-77/rust-pico-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pico-console

A retro-like games console running on Raspberry Pi Pico 2W.
All featured games support multiplayer for 2 players.

Games and features

  • Snake
    • snake body turns into apples upon death
  • Space Invaders
    • boss level every 5 levels
    • only orange and red enemies can shoot
  • Sokoban
    • 11 tricky levels
    • a menu made for easily restarting the level
  • Breakout
    • smooth gameplay allowing for 50 active projectiles at a time
    • precise collision detection
    • blue powerups that spawn 3 balls when collected
    • orange powerups that spawn 2 more balls next to a random ball

Hardware requirements

  • Raspberry Pi Pico 2W with the debugprobe on it
  • Another Raspberry Pi Pico 2W
  • ST7735 128x160 screen

Installing on the RP Pico 2W

This console relies on this webserver running on a separate device.
It works by connecting to the hotspot of the device (change WIFI_SSID.txt and WIFI_PASSWORD.txt accordingly!).

  • 1. Installing the webserver

    git clone https://github.com/addrian-77/rust-webserver
    cd ./rust-webserver
    cargo run
    
    The webserver is now running on localhost:7878 for player 1 and localhost:7879 for player 2.
  • 2. The wiring configuration

    Make sure your components are wired correctly. If so, you can go to the next step. wiring_diagram-c4f1ad60a075d0dd17c390678627b1a1
  • 3. Installing the Wi-Fi driver

    For a faster flashing, the cyw43-firmware is hardcoded on the board. This can be achieved using the following commands
    probe-rs download ./cyw43-firmware/43439A0.bin --binary-format bin --chip RP235x --base-address 0x10100000
    probe-rs download ./cyw43-firmware/43439A0_clm.bin --binary-format bin --chip RP235x --base-address 0x10140000
    
  • 4. Flashing the RP Pico 2W

    git clone https://github.com/addrian-77/rust-pico-console
    cd ./rust-pico-console
    cargo run -r
    

The console should now be running! Now head to your webserver controller and start playing!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors