markwillis / rps-game

Rock Paper Scissors game to practice things with React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rock Paper Scissors

A classic game, nothing new here.

Functions so far

Player can choose option CPU randomly chooses Works winning logic Should count scores Display who won the round Count the Ties Next round should reset UI, but keep scores Reset Game should reset scores and UI after confirmation If no scores, then should alert('Nothing to reset')

Future features

Will display funny CPU comments such as: "Ha! I win, you lose" or "You can't beat me" (can add to an array and pick one at random) Add visual UI to show where the point went to e.g highlight scorecard, or show a +1 icon GIF comments from CPU depending on the rounds result (API connect perhaps?) Add player name ✅ - WIP Choose how many games to play up to. ✅ - WIP Could figure out when it's the penultimate round and change the UI Add tooltips on hove to show the option name (practice creating tooltips) Ability to choose emoji skin-tone for player and CPU Ability to change color scheme Add timer (if player deosn't choose before timer is up they lose the round?)

Future future features

Online play. The dream. Players enter a matching room name Stop anyone else joining Show players names to each other (limit charcaters to avoid spam)

About

Rock Paper Scissors game to practice things with React


Languages

Language:JavaScript 64.3%Language:CSS 27.4%Language:HTML 8.2%