Skip to content

Seraphiel97/simon-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S.I.M.O.N.

Maintenance Maintainer

Game Overview:

gameplay

Welcome to the future! In this game, an artificial intelligence named S.I.M.O.N.(Super Intelligence Mapping Our Neuroanatomy) creates a sequence of colors designed to test the user's pattern recognition and short-term memory. Once the correct pattern has been revealed, the player must correctly recreate the sequence using the controls provided. As it is human nature to make mistakes, feel free to play the game more than once so the AI can accurately track your successes.


Getting Started:

startup-screen

  1. Begin by opening S.I.M.O.N. in a new tab

  2. Read the instructions at the top of the page and press play

  3. Witness the color sequence in the largest bubble, noting that the changing number indicates the color's place in the pattern

  4. Using the buttons, recreate the sequence you witnessed, which is visualized by the color of the smaller bubbles

    • The UNDO button removes the last choice you selected and can be used as many times as necessary
    • Clicking the SUBMIT button cannot be undone because the AI will check your solution immediately
  5. At this point, you will either be congratulated or asked to try again

    • Press PLAY if you wish to play again and track your success rate
    • If you would prefer to begin the game without your scores from previous games, press NEW PLAYER

Technologies Used:

HTML-img CSS-img JS-img MD-img GIT-img MAC-img


Current Features:

  • Success Percentage
    • Unless the game is reset using the "NEW PLAYER" button, the function below tracks a player's progress across multiple games
function calculateWinPercentage() {
  if (winner === 1) {
    totalWins += 1;
    totalGames += 1;
  } else if (winner < 1) {
    totalGames +=1;
  }
  winPercentage = (Math.round((totalWins / totalGames) * 100))
}

Next Steps:

  1. Implement iterative increasing difficulty feature
  2. Create color themes for player selection
  3. Stylistically alter the player bubbles to better match the AI theme of the game
  4. Create and randomize the render messages for success and failure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published