Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy Dice Game

This is a small dice game, no database.

A game is created when the server boots up. Just POST a turn for each player with player_id and locked:

GET /game/ to retrieve an array of games. POST /game/ to make a new game

POST /game/10 to take a turn

{
   player_id: "p1",
   locked: ["d1", "d5"]
}

Then

{
   player_id: "p2",
   locked: ["d2"]
}

The game is over after 3 rounds and scored 5 points for every 1 rolled.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages