jsmith613 / rockpaperscissors Goto Github PK
View Code? Open in Web Editor NEWMachine Learning Rock Paper Scissors Game
License: MIT License
Machine Learning Rock Paper Scissors Game
License: MIT License
This is a personal machine learning Rock Paper Scissors Game. There are Three Modes: -Easy: Computer Chooses Rock, Paper or Scissors at Random -Impossible!: Computer chooses throw that will beat yours -Hard: Computer Predicts what you will throw based on the patterns of others Future Improvements: -Connection Hard.txt to a server to update as more people play -Tracking individual player patterns as well as patterns of all players The Code: -The code is very sloppy and not DRY at all (This was started before I was taught python conventions) -Hard mode predicts based on the last round -It looks what most players throw next considering the player's last move and the result -i.e. what do most players do if they just lost to rock -Again, I apologize for the terrible code. I hope to edit this in the future so it isn't so terrible Hard.txt explanation: -The first digit after "move:" represents the players last throw (1-rock, 2-paper, 3-scissors) -The second digit after "move:" represents the computers last throw (1-rock, 2-paper, 3-scissors) -The "r,p,s" lines represent the number of times players have thrown each option
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.