8000 GitHub - boostvolt/zhaw-four-wins
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

boostvolt/zhaw-four-wins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zhaw-four-wins

This documentation is also available via the following link: https://boostvolt.github.io/zhaw-four-wins/

Team Setup

  • Jan Kott (kottjan1)
  • Denis Rykart (rykarden)
  • Simon Brand (brandsi3)
  • Roman Boassart(bossarom)

Setup

Below are the different setups described.

Local Setup

  1. Navigate to the root drectory.
  2. Run the following:
npm install
npm run dev
  1. Open your browser on http://localhost:3000/ to access the game.

Remote Setup

Implementation

Overview of functions

  • A new game can always be started using the "Neues Spiel" button
  • After every move, you can go back using the "Rückgängig" button
  • The state of the game can be persisted and loaded locally using the buttons "Lokal speichern" and "Lokal laden"
  • The state of the game can also be persisted and loaded via a server using the buttons "Server speichern" and "Server laden"
  • On top of the buttons, it is always visible who's turn it currently is

Implementation Notes

  • suiweb-1.1 was used
  • At the start of the game, it checks if the server is available. If not, the server side buttons are disabled
  • We have added own styles to make it look more appealing
  • We followed a modularized approach during the implementation
  • The game is using state hooks

Screenshots

Initial start of the game: image

After setting a few fields: image

Once a player has won: image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •  
0