Skip to content

erwinbonsma/MartianDice

Repository files navigation

Martian Dice

Online multi-player version of the physical dice game Martian Dice.

This repository contains two different front ends:

Both have a completely different with Look & Feel. They use the same backend though and are compatible; you can use either to join a given room/game.

PICO-8 Front End

Martian Dice PICO-8 screenshots

Play the game on my website.

Features

  • Play against friends in a private room
  • Play against other players in the public room
  • Play against a Smart bot when there is nobody else
  • Fancy animations
  • In-game help
  • Basic chat function - select messages from a pre-configured list

Technologies

  • PICO-8
  • Javascript - to interface between PICO-8 (via GPIO) and the back end (via WebSockets)

HTML5 Front End

Martian Dice screenshot

Features

  • Play against other players
  • Play against bots: Random, Defensive, Aggressive, and Smart
  • Basic animations
  • Basic sound-effects
  • Responsive UI: play on phones, tablets or monitors
  • Chat function
  • In-game help
  • Graceful disconnection handling:
    • Disconnected players can rejoin
    • Forcefully end turns of non-responsive players

Technologies

Back End

Technologies:

  • Python
  • WebSocket communication
  • AWS
    • Lambda services
    • DynamDb storage
    • Deployment via CDK

Credits

  • Game Design: Scott Almes
  • Coding: Erwin Bonsma
  • Graphics: Erwin Bonsma
  • Sound samples (all from freesound.org):

About

Martian Dice game, including optimal play logic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published