Pubnix word guessing game
Find a file
2024-01-06 13:58:52 -05:00
.gitignore Initial draft 2024-01-05 22:30:58 -05:00
client.py Code cleanup 2024-01-05 23:42:44 -05:00
leaderboard.py Fixed none issue 2024-01-06 13:58:11 -05:00
pubnix.py Fixed authentication issues 2024-01-06 13:58:48 -05:00
readme.md Added readme 2024-01-06 13:58:52 -05:00
server.py Fixed authentication issues 2024-01-06 13:58:48 -05:00
wordguess.py Made paths relative to game server folder 2024-01-06 13:58:29 -05:00
words.txt Initial draft 2024-01-05 22:30:58 -05:00

WordGuess

Daily pubnix game where you guess the word of the day. Compare your word chops with other people on the same server!

Server

Make sure that the WordGuess folder is accessible to other users.

This means that if the code lives in /home/wg/WordGuess then the executable permission must be given to /home/wg.

chmod o+x /home/wg

The server code will adjust the permissions of all the other files to circumvent cheating.

To run the server

python server.py

You should see an output such as

Successfully loaded game state
Seed:  701625
Started server at /home/wg/WordGuess/game.sock

Don't share the seed with anyone! Otherwise they can figure out the word for all future days.

You can reset the seed and all game state by removing the file state.pickle.