Skip to content

Latest commit

 

History

History
executable file
·
34 lines (26 loc) · 1.03 KB

README.md

File metadata and controls

executable file
·
34 lines (26 loc) · 1.03 KB

###Scrabanagram

####Compiling and Running Download all files.

mySQL:

  • Create database named 'dictionary'
  • Create table named 'dictionary' under the db
  • word VARCHAR(40), count INTEGER

Preset/Customized wordlist:

  • 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.

Proceed to run the main program.

Launch as many times as the number of players needed.

####Credits: https://github.com/thejasonhsu

https://github.com/elifnaz