Skip to content

codeBOX-projects/rps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

RPS

Introduction :

██████╗░░░░██████╗░░░░░██████╗
██╔══██╗░░░██╔══██╗░░░██╔════╝
██████╔╝░░░██████╔╝░░░╚█████╗░
██╔══██╗░░░██╔═══╝░░░░░╚═══██╗
██║░░██║██╗██║░░░░░██╗██████╔╝
╚═╝░░╚═╝╚═╝╚═╝░░░░░╚═╝╚═════╝░


Python game to implement Rock Paper Scissor, aginst computer player, Winning Rules of the Rock Paper Scissor game as follows:

  • Rock vs Paper >> Paper (wins)
  • Rock vs Scissor >> Rock (wins)
  • Paper vs Scissor >> Scissor (wins)

Human & Computer player score will auto update after each try, as simple output [WIN] [Draw] [LOSE]


Install & Usage :

| install requirements :

pip install -r requirements.txt

| run :

python rps.py

| start game :

    ██████╗░░░░██████╗░░░░░██████╗
    ██╔══██╗░░░██╔══██╗░░░██╔════╝
    ██████╔╝░░░██████╔╝░░░╚█████╗░
    ██╔══██╗░░░██╔═══╝░░░░░╚═══██╗
    ██║░░██║██╗██║░░░░░██╗██████╔╝
    ╚═╝░░╚═╝╚═╝╚═╝░░░░░╚═╝╚═════╝░

    [*] [code]Box | Andrei A. Abd 2022.
    [*] Source : https://github.com/codeBOX-projects
    [*] Python game to implement Rock Paper Scissor, aginst computer player.

    [I] Winning Rules of the Rock Paper Scissor game as follows:

        > Rock  vs Paper   >> Paper   (wins)
        > Rock  vs Scissor >> Rock    (wins)
        > Paper vs Scissor >> Scissor (wins)
        
    [?] Select your choice:

        1 > Rock.
        2 > Paper.
        3 > Scissor.
    
=====================================
|| Score || Human 0 || Computer  0 ||
=====================================

Select Your Sign >

Support distrbutions :

  • Linux os.

  • Termux.


[code]Box | Andrei A.Abd | 1993-2022

About

Python game to implement Rock Paper Scissor, aginst computer player.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages