CodeWithTheDoctor / cits3403-project

Web version of Akari!
0 stars 1 forks source link
akari

Web Akari

Web Akari is a web-based akari daily game for people to test out their puzzle-solving skills on a daily basis!

Deployed at

http://flask-test123456.herokuapp.com

Design

Sign-in / Register Page

Puzzle Page / Home Page

Statistics Page

Instructions to the run web app:

Poetry has been used as a python package manager but a requirements.txt file has been exported to use with a regular python venv (virtual environment).

Instructions for using a poetry build

To install dependencies on local machine

poetry install

To enter venv in terminal

poetry shell

To run the DEVELOPMENT server

OR

To add dependencies

Instructions for regular venv building

Adding/Viewing/Deleting Puzzles

Structure of a puzzle string

Example file:

03 213 33 435 63
30
326
34 52

14

We rewrite that line, using z as the new-line separator, so the puzzle level string becomes: 03 213 33 435 63z30z326z34 52zz14

Adding a puzzle to the database

Viewing puzzles

Deleting puzzles

For developers

Database commands

These commands need to be run when changes to the database schema are made. (Changes mean changes to the table, like the columns, etc. Adding new records to the table doesn't count as a change)

Testing

To run the coverage testing