Flow
This is our entry for the pyweek 39 with the topic downstream.
Battle it out with your sword against either a bot (offline) or against other players online.
We submitted our source code and a windows build. More builds are availabe as a release in out github repo.
ControlsWASD - Move
Left Mouse - Sweep
Right Mouse - Block
Shift - Stab/Dash
Space - Jump
Online PlayWhen playing online, keep in mind that there aren't many players. You may want to queue at the same time as a friend. The matchmaking system does not use an MMR system but instead matches players as quickly as possible.
You can edit and persist your username in the settings. :)
To change the network configuration (e.g., switching to a self-hosted server), edit `./game/const/networking.py`. (Host and whether or not to use ssl when connecting)
Note: Our resources are limited. We will be hosting the game server for a while, but there will only be an EU instance. You can still play from other parts of the world, but you may experience latency issues.Game
Install the requirements
python3 -m pip install -r requirements.txt
Run the game
python3 ./run_game.pyServer
Honestly it's easiest to just start the docker compose :)
docker-compose up -d
For development just install the additional server requirements
python3 -m pip install -r server/requirements.txt
Run the server
python3 ./run_server.py
github.com/coffeemakingtoaster/pyweek-39
Awards
Scores
Ratings (show detail)
Overall: 3.9
Fun: 3.1
Production: 4.9
Innovation: 3.7
Respondents: 7
Files
File | Uploader | Date |
---|---|---|
pywee-39-flow-windows.zip
— final
Windows build |
coffee | 2025/03/30 12:33 |
pyweek-39-flow-source.zip
— final
Source code |
coffee | 2025/03/30 12:32 |
preview_image.png
preview image |
coffee | 2025/03/30 10:22 |
networkTest2.gif
Network Test |
Heuser | 2025/03/28 09:23 |
multiplayer_btw.png
Its multiplayer btw :) |
coffee | 2025/03/25 20:59 |
Diary Entries
Quick little update
We've been pretty quiet until now, but we wanted to share a quick update!
We really liked the theme but got a bit carried away during planning. We're now working on a 1v1 online sword-fighting game. The basic netcode and game logic are in place, and we're currently adding a blocking mechanic and a secondary attack.
This has been an exciting project for us as we're implementing the netcode from scratch. It's been a lot of fun so far! 😊
Attached is a screenshot of a very WIP state—stay tuned!

Network testing
