preview image

Flow

Flow - Pyweek 39

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.

Controls

WASD - Move 

Left Mouse - Sweep 

Right Mouse - Block 

Shift - Stab/Dash 

Space - Jump 

Online Play

When 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.py
Server

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


impressive award from penguin
Presented by speedlimit35

The "Duncan Idaho" award for sword related fun.
Presented by ntoll

Give this entry an award

Scores

Ratings (show detail)

Overall: 3.9
Fun: 3.1
Production: 4.9
Innovation: 3.7

12% respondents marked the game as not working.
Respondents: 7

Files

File Uploader Date
pywee-39-flow-windows.zipfinal
Windows build
coffee 2025/03/30 12:33
pyweek-39-flow-source.zipfinal
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

Hey everyone,

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!



1 comment

Network testing

Hey everyone,

we have been hard at work adding/fixing stuff within our game.
We mostly have our gameplay down and are now optimizing the netcode, polishing the visuals and playing around with some gimmick ideas.

See below for one of the first actual online pvp matches we played :)

Good luck to everyone else on the last two days


1 comment