Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harrypeach/pyxelsand2
⏳ A falling sand game written in Python using the Pyxel library
https://github.com/harrypeach/pyxelsand2
falling-sand game hacktoberfest python3 pyxel
Last synced: 24 days ago
JSON representation
⏳ A falling sand game written in Python using the Pyxel library
- Host: GitHub
- URL: https://github.com/harrypeach/pyxelsand2
- Owner: HarryPeach
- License: gpl-3.0
- Created: 2021-04-21T22:07:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T20:52:01.000Z (about 3 years ago)
- Last Synced: 2023-04-24T15:44:12.582Z (over 1 year ago)
- Topics: falling-sand, game, hacktoberfest, python3, pyxel
- Language: Python
- Homepage:
- Size: 178 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyxelSand 2
> PyxelSand2 is a rewrite of the [PyxelSand](https://github.com/HarryPeach/PyxelSand) project, which is a "falling sand" style game written with the Python game engine: [Pyxel](https://github.com/kitao/pyxel)
![pyxel-210524-184203](https://user-images.githubusercontent.com/4750998/119386676-c7b16800-bcbf-11eb-9221-e9b1b868dfe1.gif)
## How to install
1. Install [Poetry](https://python-poetry.org/)
2. Run `poetry install` in the root directory
3. Run `poetry run python -m sand_game`
4. (Optional) Run `poetry run pytest` to run the unit tests## How to play
- **Left click** places the currently selected particle
- **Right click** removes particles under the cursor
- **Space** pauses and resumes the simulation## License
This software is licensed under the GPLv3 license. The full license can be found in the LICENSE file.
```
Copyright (C) 2021 Harry PeachThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .
```