RPS
is your competition whenever you're up for a battle of Rock, Paper, Scissors
. Challenge yourself and give it a try. Easy to implement, and slightly addictive. Note that I used my own library for printf, strlen and atoi.
-
Git clone
the current repository.git clone https://github.com/lspohle/PRIVATE_rps.git
-
Go into the directory, and run the following command to
make
an archive,compile
andexecute
RPS.make -s
- You may easily adjust the maximal amount of rounds you are allowed to play by modifying the global variable
MAX_AMOUT
in rock_paper_scissors.h. - RPS is easy to implement, and it should work on various operating systems (macOS and Ubuntu, for example). Don't worry about warnings that might be thrown by the compiler if you're using a different operating system than macOS. It varies form operating system to operating system. Keep in mind that you need
gcc
- a compiler for C - andgit
- an open source distributed version control system. They are pre-installed on macOS and Linux (not on Windows, for example).