Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
git
cc203e0e2c Merge pull request 'Update php Docker tag to v8.4' (#2) from renovate/php-8.x into master
Reviewed-on: #2
2025-06-04 20:11:08 +02:00
Renovate Bot
960e3b7c31 Update php Docker tag to v8.4 2025-06-04 17:24:08 +00:00
git
9336b46cd1 Merge pull request 'Configure Renovate' (#1) from renovate/configure into master
Reviewed-on: #1
2025-06-04 19:22:06 +02:00
Renovate Bot
cc9fa557fe Add renovate.json 2025-06-04 15:02:51 +00:00
Patryk Hegenberg
2485af445f changed docker-compose to work on all machines 2023-12-30 10:44:22 +01:00
3c73706647 added persistant db storage to gitignore 2023-12-29 14:48:54 +01:00
PatrykHegenberg
b0b0df3b80
Create README.md 2023-12-29 09:53:20 +01:00
5 changed files with 38 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
# vscode config files # vscode config files
./.vscode/* ./.vscode/*
math_wizard_db_data/*

View file

@ -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
View 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)

View file

@ -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
View file

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}