Compare commits
7 commits
dev/rebuil
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| cc203e0e2c | |||
|
|
960e3b7c31 | ||
| 9336b46cd1 | |||
|
|
cc9fa557fe | ||
|
|
2485af445f | ||
| 3c73706647 | |||
|
|
b0b0df3b80 |
5 changed files with 38 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
||||||
# vscode config files
|
# vscode config files
|
||||||
./.vscode/*
|
./.vscode/*
|
||||||
|
math_wizard_db_data/*
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# Verwende ein Basisimage mit PHP
|
# Verwende ein Basisimage mit PHP
|
||||||
FROM php:8.2-cli
|
FROM php:8.4-cli
|
||||||
|
|
||||||
# Setze das Arbeitsverzeichnis
|
# Setze das Arbeitsverzeichnis
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
|
||||||
33
README.md
Normal file
33
README.md
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
# The Math Wizard
|
||||||
|
|
||||||
|
The Math Wizard is a browser game that helps children automate the 1x1. It acts as a dungeon crawler game in which children can fight monsters by solving multiplication problems.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
To run the game, you need Docker and Docker-Compose. Make sure that these are installed and configured on your system.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
1. clone the repository with `git clone https://github.com/PatrykHegenberg/TheMathWizard.git`.
|
||||||
|
2. change to the project directory with `cd TheMathWizard`.
|
||||||
|
3. run `docker-compose up --build` to install and start the game.
|
||||||
|
|
||||||
|
Once the installation is complete, you can access the game via your web browser under `localhost:8080` or the computer name.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
To create a new account, go to `localhost:8080/signup` in the browser. After signing up, you can start the game and begin fighting monsters and solving multiplication tasks. Your progress will be saved persistently on the hard disk of the host computer.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the MIT license. For more information, see the LICENSE file.
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This project uses the following resources:
|
||||||
|
- [ROT.js](https://github.com/ondras/rot.js/) (BSD-Lizenz)
|
||||||
|
- [Micro Rogue tileset](https://kenney.nl/assets/micro-roguelike) von Kenney.nl (CC0 1.0 Universelle Lizenz)
|
||||||
|
- [NES.css](https://nostalgic-css.github.io/NES.css/) (MIT Lizenz)
|
||||||
|
- [sfxr.me](https://www.sfxr.me/) (Öffentliches Domain)
|
||||||
|
- [Pixel Coin Bild](https://opengameart.org/content/pixel-coins) (CC-BY 3.0 Lizenz)
|
||||||
|
- [Roguelike-Browser-Boilerplate](https://github.com/chr15m/roguelike-browser-boilerplate)
|
||||||
|
|
@ -4,7 +4,6 @@ services:
|
||||||
web:
|
web:
|
||||||
#image: math_wizard
|
#image: math_wizard
|
||||||
build:
|
build:
|
||||||
context: /home/pata/dev/WebProg/TheMathWizard
|
|
||||||
dockerfile: Dockerfile.math_wizard
|
dockerfile: Dockerfile.math_wizard
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
|
@ -15,7 +14,6 @@ services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
build:
|
build:
|
||||||
context: /home/pata/dev/WebProg/TheMathWizard
|
|
||||||
dockerfile: Dockerfile.db
|
dockerfile: Dockerfile.db
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: password
|
MYSQL_ROOT_PASSWORD: password
|
||||||
|
|
|
||||||
3
renovate.json
Normal file
3
renovate.json
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue