https://github.com/haggen/browserstrategygame
https://github.com/haggen/browserstrategygame
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/haggen/browserstrategygame
- Owner: haggen
- License: other
- Created: 2024-01-10T13:54:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-16T21:10:25.000Z (10 months ago)
- Last Synced: 2025-01-17T09:10:19.231Z (5 months ago)
- Language: Python
- Size: 88.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Browser Strategy Game
> A browser based strategy/MMORPG game, under development. 🚧
## Development
### Stack
These are the main packages used to develop this application.
- Python 3.12
- Poetry
- Ruff
- FastAPI
- SQLModel
- SQLite### Getting started
Install the dependencies. Poetry will create a virtual environment for us.
```shell
poetry install
```If we're planning on making changes, we should also install pre-commit hooks.
```shell
poetry run pre-commit install
```Finally, we start the application.
```shell
poetry run python -m browserstrategygame
```### Debugging
Add a debug configuration to VSCode.
```json
{
"name": "Python Debugger: Remote Attach",
"type": "debugpy",
"request": "attach",
"connect": { "host": "localhost", "port": 5678 },
"pathMappings": [{ "localRoot": "${workspaceFolder}", "remoteRoot": "." }]
}
```Start the debugger.
```shell
poetry run python -m debugpy --listen 5678 -m browserstrategygame
```## License
Apache-2.0 ©️ 2024 Arthur Corenzan, Douglas Barbosa, etc.