Skip to content

rezziemaven/the-mind

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Mind!

JS implementation of The Mind with networking!

To test locally, change the server definition in App.js.

Run npm run start to start the front end and npm run serve to start the back end.

Todo:

  • show which players are remaining and/or how many cards they have left
  • show all of the cards that have been played + highlight the last card played
  • make it playable with more than 1 card per person
  • better feedback for when one player is about to play (make their name shake? make it big? idk)
  • when you drop a card in the middle, have it stay in the same spot
  • unit tests? for the turns on the game?
  • rewrite turn funcs to treat G as immutable

Sample State:

const G = {
    players: {
        1: {
            cards: [67]
        },
        2: {
            cards: [45, 99]
        }
    },
    aboutToPlay: {
        1: null
    },
    cardsPlayed: [ 20 ],
    gameOver: "you win!",
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.9%
  • HTML 9.8%
  • CSS 5.3%