Skip to content

maikhanhbui/Trivia-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

121 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmpt371FinalProject

Trivia game

  • In this project, we are using Pygame for game UI where clients play at.

Setup Pygame

  • Install Python3 in order to run Pygame: https://www.python.org/downloads/

  • Install Pygame in terminal(command prompt in PC), python3 -m pip install -U pygame --user

  • To see if it is installed, run one of the included examples: python3 -m pygame.examples.aliens

  • Visual Studio or Spyder are recommanded running environments.

  • More detail for help, see https://www.pygame.org/wiki/GettingStarted

Run the game

  • Setup ad hoc network and change address in client and server accordingly
  • To start server, at server module, run python3 main.py(python main.py on Windows)
  • To start game, at client module, run phthon3 lobby.py (phthon lobby.py on Windows)

About

A client-server based trivia game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%