Skip to content

Team project made for the purposes of course "Software development methods" during 5th semester of studies.

Notifications You must be signed in to change notification settings

TeeKay18/SudokuMultiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Multiplayer

Prerequisites

You need to download and install:

How to run Sudoku?

  1. Compile Java Classes

From main project folder, run: cd src/generator && javac *.java.

  1. Install necessary npm dependencies

Inside main project folder, run this command:

npm i socket.io express express-session nodemon mysql ejs
  1. Configure database

From main project folder, run: (-p requires password) mysql -u your_name -p < db.sql

Inside server.js code, in line 13, set your connection as following:

host: 'localhost',
user: 'your_name',
password: 'your_password',
database: 'sudokuDB',
 }); 

Tested and worked on MySQL 8.0.21.

  1. Run the script inside your terminal:

npm run start

To test the game, server runs on port 8080, so in your browser, go into 127.0.0.1:8080. Create an account and log into the game, then either join or create a new room. For a bit more global testing, you can use and configure as written at https://localhost.run/.

About

Team project made for the purposes of course "Software development methods" during 5th semester of studies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •