The classic "rock, paper, scissors- shoot!" game, implemented in 10 programming languages
Language | Link | Run |
---|---|---|
Python | README | python index.py |
JavaScript | README | node index.js |
Java | README | java index.java |
C | README | clang index.c |
Bash | README | ./index.sh |
Ruby | README | ruby index.rb |
Perl | README | perl index.pl |
Go | README | go run index.go |
Lua | README | lua index.lua |
PHP | README | php -S 127.0.0.1:8000 |
Disclaimer: I am not a pro at most of these languages. In fact, for most of these languages, it's the first time I've used them, so the code is probably not the best and there might be bugs. Luckily, this is open source, meaning if you find a bug or have a suggestion, just raise a PR :)
And yeah, that's about it... just rock paper scissors shoot in a bunch of languages. Well this is awkward... maybe leaving a star would help?
-- Dheirya Tyagi