Skip to content

ShubhamDX/word-puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

word-puzzle

This project is a websocket based real time word-puzzle game.

Specifications:

  1. STOMP messaging with SpringBoot has been used to create an interactive web application.
  2. For testing purpose, basic UI has been developed from the sample boiler plate code from : https://spring.io/guides/gs/messaging-stomp-websocket/

Steps:

  1. Deploy the application. Access UI on web browser(with javascript enabled) at 8080
Header
  1. Click the Connect button to establish a web socket connection
  2. Enter your playerId(String) and click Register.
Notifications
  1. You will be getting all the real time event notifications under the Notifications section
Game Information :
  1. AllGameIds button lists all the game Ids.
  2. ActiveGames button lists all the active games which are being played.
  3. JoinTheseGames button gives you list of gameIds which are yet to be started and you can join these games to play.
  4. GameInfo input text give you complete information about a particular gameId
Create Game :
  1. If you want to create game, enter max number of players you want to join(mandatory) and your playerId. click Create.
  2. The creator of the game is the admin of the game.
Join Game :
  1. Players can join the game until maxPlayers of the particular game is breached.
  2. To join a game : the maxPlayers limit shouldn't be breached and the game should be joinable(i.e. in yet to be started state )
Start Game :
  1. The game can be started in 2 ways. Either the admin can manually start the game or the game automatically starts once the max numbers of players have joined.
Play Game :
  1. Players can play the games as per their respective turns(which can be got by using the GetGameInfo search as in point 8 above)
Pass Chance
  1. If a player passes his chance,he is automatically out of the game. A game stops in 2 cases : a) All the players have passed b) All the contained words have exhausted A leaderboard is shown once the game is over.

Notes:

  1. It is also possible that there may be some new words formed unintentionally due to random filling of the grid. If a player finds them,then also he/she is awarded.
  2. Single letter words are not supported.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors