Inspiration
The challenge in global hack week made me want to make this, and I was already using the ratatui library for another project and this felt like the perfect way to have a little fun with it.
What it does
The code build a simple command line interface to play rock paper scissors against the computer, and you can use the 'r','p' and 's' keys to play your hand.
How we built it
The program utilises the ratatui library to format the frontend and the crossterm backend for the terminal. A terminal interface allows the code to run fast without having to deal with the issues of graphics.
Challenges we ran into
None actually I'm really good at building TUI's!
Accomplishments that we're proud of
Built this over breakfast, in awe of the speed at which we got this done.
What we learned
Mostly a refresher of terminal backends, and looked up some ways to implement online play that will come later.
What's next for Rock, Paper, Scissors!
Maybe an update that allows users to play together on a LAN network
Built With
- crossterm
- ratatui
- rust
- rustrover
Log in or sign up for Devpost to join the conversation.