Skip to content

About

Multiplayer game. Java and MySQL.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

Repository files navigation

###Scrabanagram

####Compiling and Running Download all files.

mySQL:

  • Create database named 'scrabanagram'

  • Create table named 'dictionary' under the db

  • Create column 'word' type VARCHAR(40)

    • To use preset wordlist:

      • Replace username and password with your own in TransferMain.java:
      Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/" + DATABASE_NAME, "username", "password");
      • Run TransferMain.java to fill db up with words and valid solutions.
    • To use customized wordlist:

      • Replace words.txt with your own.
      • Replace username and password with your own in DictionaryMain.java:
      Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/" + DATABASE_NAME, "username", "password");
      • Run DictionaryMain.java to fill db up with words and valid solutions.
  • Replace username and password with your own in ServerInfo.java:

public static final String USER = "username";

public static final String PASSWORD = "password";

Run GameServer.java.

Run GameClient.java.

Launch as many times as the number of players needed.

About

Multiplayer game. Java and MySQL.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages