This web application was modeled after the Hoplite Challenge, an ancient Greek verb conjugation game, which was conceived at the Latin/Greek Institute in the summer of 1978.
- Install Rust
- curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
- Clone this repository
- Set environment variables for the database connection and the key. e.g.
- export HOPLITE_DB=postgres://username:password@localhost/dbname
- export HCKEY=56d520157194bdab7aec18755508bf6d063be7a203ddb61ebaa203eb1335c2ab3c13ecba7fc548f4563ac1d6af0b94e6720377228230f210ac51707389bf3285
- Run unit tests with:
- cargo test
- Compile and run the web server with:
- cargo run
- The Hoplite Challenge web application can now be opened in a web browser at http://0.0.0.0:8088
- Create a user account (or two if testing two-player mode)
- Login
- Create a new two-player or practice game by clicking "New" and filling out the desired options. Now click Create Game.
- Select the new game
- A starting form will presented in the upper panel. When you click "Go" you will be asked to change the starting form to reflect the new parameters.