Skip to content

shubham15gupta09/RPS_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPS_Game :

A Rock Paper and Scissor game on the Web Platform.

UI

In PC

The Very First Page / Landing Page for the Game


The Result Page


Console Log for getting the information regardinhg the prediction from Computer

Requirements :

1 . ML Model
  • 1 . To develope a Machine Learning algorithm to classify and detect the rock paper and scissor hand gestures
  • 2 . Model conversion so that we can use it for tensorflow js
2 . Web App
  • 1 . Front -End : UI for the Web Game ( It should contain a DIV which can render live damera feed so that a frame can be craptured for playing the game)
  • 2 . Back-End : for Routes and integrating the Tensorflow JS
3 . Deployment
  • 1 . localhost:8000
  • 2 . Virtual Machine ( weither in GCloud or Azure )
  • 3 . Docker Image

Privacy Concern

As the user is required to upload the image . We respect the Privacy of the user . We will use the Images for training our ML Model

I am in the process of introducing the feature to delete your Data once you close the game

Tech Used

1 . Tensorflow , Tensorflow JS , Keras
2 . JavaScript , Python
3 . HTML , CSS
4 . NodeJs , Express , Express-fileupload

How to use ?

  • Using LocalHost
    1 . clone this project
    2 . npm install
    3 . npm start
    4 . Just upload a photo by using the upload button and that's it !! You are good to go.
  • Using Virtual Machine
    1 . Create a VM on Google cloud / Azure (os = linux)
    2 . Open the SSH terminal
    3 . Install Nodejs
    4 . clone this project and * cd RPC_Game *
    5 . npm start
Note you have to change the src for the image accordingly

Special Thanks

Mohak Bahal : For solving issue with Keras Model Conversion