Skip to content

aga87/astroman-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Astroman

Real-time multiplayer with chat.

Demo

See the live demo.

The server is deployed to Render and the React client to Vercel.

Screenshots

Game Mechanics

In this hangman-inspired game, set in space, two players compete to uncover the concealed title of a randomly selected science-fiction book. The players take turns to guess letters: if the book title contains the letter, the player can go again. If the guess is incorrect, the player loses one of their 8 lives (oxygen) and their turn. The player that uncovered the last letter in the book title gains one point. The game consists of unlimited number of rounds and ends when one of the players runs out of oxygen. Player with higher score wins. If it's a tie, the player with lives/ oxygen left wins. Players can restart, go back to or quit the game from the Options modal.

Tech Stack

  • Node.js - an open-source JavaScript runtime environment for building server-side applications
  • Express - a web application framework for Node.js that makes it easier to build and manage APIs
  • Socket.IO - a JavaScript library for real-time, bidirectional communication between web clients and servers
  • Typescript - a typed version of JavaScript that improves code quality and maintenance
  • React - a JavaScript library for building user interfaces.
  • Redux - a state management library for JavaScript applications
  • Redux Toolkit - an official opinionated package that simplifies the use of Redux