Rock, paper, scissors- shoot!, in 10 programming languages

Overview

Rock Paper Scissors In 10 Programming Languages

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

You might also like...

Spring 2019-2020 Java Programming course lab -- Chongqing University. Include my source codes and lab reports.

JAVA_GUI_File_Manager Spring 2019-2020 JAVA Programming course homeworks -- Chongqing University. Include my source codes and reports. Contents: achie

Jun 29, 2022

ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines web, high load, and cloud programming in Java, featuring ultimate performance and scalability!

Introduction ActiveJ is a full-featured modern Java platform, created from the ground up as an alternative to Spring/Micronauts/Netty/Jetty. It is des

Jan 7, 2023

PGR112 Object-oriented Programming

Welcome to PGR112! Object-oriented Programming Course Page Canvas page This repository is for students at Campus Bergen taking the course PGR112 this

Sep 20, 2022

Very spicy additions to the Java programming language.

Project Lombok Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java. Never write another g

Dec 30, 2022

JurjenLang, an interpreted programming language

JurjenLang An untyped interpreted functional programming language Getting started Follow these three steps on your computer to get started git clone h

May 3, 2022

A sideproject to learn more about object-oriented programming, design patterns and Java meanwhile studying an OOP-course.

MyBank Description A console application that simulates a bank with very simple functions. Potential story could be an employee using this application

Mar 23, 2022

Very briefly capturing some of new/ update in API that were introduced after Java 8 that may come handy for dev folks while programming

Very briefly capturing some of new/ update in API that were introduced after Java 8 that may come handy for dev folks while programming. Also have created tests demonstrating those APIs and playaround with it.

Jan 24, 2022

Challenge: Learn Object Oriented Programming in Practice

Challenge: Learn Object Oriented Programming in Practice The main objective is to put into practice one of the main tools of OO: ABSTRACTION, ENCAPSUL

Sep 4, 2022

Resources repository for Java programming students

Java development resources This repo includes most of the examples we develop during our lessons. Most of them are coded using Spanish 💃 , as its the

Jun 14, 2022
Comments
  • more readable code and better functionality

    more readable code and better functionality

    Hey Dheirya! I basically was seeing this repo, and wanted to fix major things for JS.

    You initially wrote "If message starts with 'You'", but I changed it to a variable in case this game is hypothetically translated to other languages... and just for better practice. Anyway, please look over this when you have time, and I hope you find it useful.

    hacktoberfest-accepted 
    opened by eesazahed 3
Owner
Dheirya Tyagi
13-Year-Old Programmer
Dheirya Tyagi
A simple paper plugin which allows deepslate to be instamined

InstantDeepslate An extremely simple plugin that allows you to instantly mine deepslate. I used the paperweight test plugin as the base for this plugi

null 2 Jan 31, 2022
Programming Services and Processes - 04 Secure Programming Techniques

Programación de Servicios y Procesos - 04 Técnicas de Programación Segura Tema 04. Técnicas de Programación segura. Curso 2021/2022. Contenidos Introd

José Luis González Sánchez 5 Dec 27, 2022
Java-Programs---For-Practice is one of the Java Programming Practice Series By Shaikh Minhaj ( minhaj-313 ). This Series will help you to level up your Programming Skills. This Java Programs are very much helpful for Beginners.

Java-Programs---For-Practice is one of the Java Programming Practice Series By Shaikh Minhaj ( minhaj-313 ). This Series will help you to level up your Programming Skills. This Java Programs are very much helpful for Beginners. If You Have any doubt or query you can ask me here or you can also ask me on My LinkedIn Profile

Shaikh Minhaj 3 Nov 8, 2022
A Sentry SDK for Java, Android and other JVM languages.

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoy

Sentry 912 Dec 28, 2022
Ethereum blockchain-based e-portfolio management application built using Web3j API, java and solidity languages.

Web3j-Java-based e-Portfolio Manager Ethereum blockchain-based e-portfolio mangement application built using Web3j API, java and solidity languages. W

ibelab 6 Oct 1, 2022
Tuya 37 Dec 26, 2022
Melnica Server is a custom basic Servlet Container application which depends on Socket Programming.

Melnica Server Melnica Server is a custom basic Servlet Container application which depends on Socket Programming. The Description of Project Melnica

Batuhan Düzgün 18 Jun 26, 2022
Concurrent Programming - 2021/2022 - Fall - LI51D - LI51N

s2122i-li51d-li51n Concurrent Programming - 2021/2022 - Fall - LI51D - LI51N See docs for documentation resources. See jvm for JVM-based code examples

null 16 Apr 8, 2022
Object Oriented Programming Course - Fall Semester 2021

Object Oriented Programming Course (Fall Semester 2021) This repository will store the code we use during the lectures and the exercises sessions of t

Andres R. Masegosa 14 Jul 10, 2022
Spring 2019-2020 Java Programming course lab -- Chongqing University. Include my source codes and lab reports.

JAVA_GUI_File_Manager Spring 2019-2020 JAVA Programming course homeworks -- Chongqing University. Include my source codes and reports. Contents: Draw

Chase/Jiaxuan Cai 6 Nov 11, 2022