diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..459122e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,19 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## v0.1.0 - 2024-08-?? + +### Added + +- Main window, borderless and always-on-top. +- Basic controls: `ESC` to quit, `Left Click` to move the window around. +- Dog states: `idle`, `idle and bark`, `walk`, `walk and bark`, `sit`, `sit and bark`, `lie down`, `lie down and bark`., `run`, `run and bark`, `stand`, `stand and bark`, `sleep`. +- Dog basic AI using Markov chains. +- 10 Dog sprites from **Pixel Dogs** by [Benvictus](https://benvictus.itch.io/pixel-dogs). +- Mountain biome. +- Infinite dog walking loop. When the dog reaches the end of the screen, it appears on the opposite side. +- Application icon and splash screen. diff --git a/Taskfile.yml b/Taskfile.yml index 78a572a..3b39a54 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -22,4 +22,13 @@ tasks: desc: Run tests. cmds: - pytest tests/ - - mypy + - mypy + + bump-version: + desc: Bump version, define target version with "VERSION=*.*.*". + silent: true + vars: + VERSION: '{{.VERSION}}' + cmds: + - sed -i "s/^\(version = \"\)\(.\)*\"/\1{{.VERSION}}\"/" pyproject.toml + - echo "Version replaced by {{.VERSION}} in 'pyproject.toml'" diff --git a/pyproject.toml b/pyproject.toml index 1a32448..7017c71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "doggo" version = "0.1.0" -description = "" +description = "A basic dog AI using Markov chain and pygame." authors = ["u8slvn "] license = "LGPL-3.0" readme = "README.md" diff --git a/src/doggo/config.py b/src/doggo/config.py index 786a1b0..e5467a7 100644 --- a/src/doggo/config.py +++ b/src/doggo/config.py @@ -17,7 +17,7 @@ # --- World configuration --- WORLD_TITLE = "Doggo" -WORLD_FPS = 60 +WORLD_FPS = 30 WORLD_WIDTH = 350 WORLD_HEIGHT = 100 WORLD_GROUND_HEIGHT = 15 # The size of the ground.