April 2018 challenge: “Two worlds”
To play the games listed here, you may need to install Python (typically 2.5+). PyGame, pyglet or PyOpenGL. See the game's README file for specific requirements. Windows or OS X users downloading the versions of games specific to them shouldn't need to install anything.
- RogueThroughTheVeil.zip — Source Code Submission (656.87 Kbytes on 2018/04/21)
This game is one I've been thinking of since I discovered Rogue a few weeks ago, I'm so glad PyWeek just happened to be around the corner and with a perfect theme! Now I'm going to work flat out all week to try and get a minimal version of this running. Despite the description, there are still many unanswered questions as to how this game will work. It'll need some experimenting to get just right.
In-keeping with Rogue, it will use ASCII graphics, but I will also use colour. It will also have no sound. I'm going to be using tcod, which is a Python interface to libtcod library. The docs are here: https://python-tdl.readthedocs.io/en/latest/
I spend my days as a PhD candidate researching in the field of ontology/knowledge graphs with applications in systems, so also conducting research into systems thinking and mereology. This means I'm looking forwards to Python 3.7's data-classes with keen-interest. I'm not going to use Python 3.7 for this because it has not been released yet, I am however going to try a programming style I've being mulling over as a result of my research into systems and ontology.
For this project I will use a class to represent a data-type, such as a "Potion of Healing" or "Snake". These classes will have no methods of their own, the only functionality I will give them will be in generating their properties, and perhaps nice __str__ methods. A class will be mutable and in Python I can access their instances in functions without passing them in explicitly, which is what I want. I will also use an ontological perspective on inheritance, so if I assert in a type hint that the arg: MovingObject, then it could also be any child class of MovingObject, such as Player. Child classes are not allowed to overwrite anything in their parent classes, they can only have additional properties and default values for existing properties.
Functions are considered to be mappings of global states, they don't belong to the thing that effects them, therefore no methods are used. Therefore, all functions will be public and able to act on any class that they are capable of acting upon. So the function "move" will be able to act on anything that has an x and y position, whether I intended it to or not. This is closer to reality, I currently have a burnt out old XBox providing the function "door-stop", I'm pretty sure if Microsoft coded the world it would not have had that function. I expect it will also offer greater flexibility and code re-use. This project will be an interesting proving ground for these ideas and a demonstration of how data-classes may be used from Python 3.7 onwards, I will be updating this project to use them at some point.
Finally, I'll be keeping a daily blog on progress at www.paulbrownmagic.com/blog
Enjoy your PyWeek, happy coding!
- yes_no_world-1.1.zip — Final Version with Data (139.87 Kbytes on 2018/04/23)
- yes_no_world-1.0.zip.zip — Final RC2 (72.63 Kbytes on 2018/04/22)
- yes_no_world-0.9.zip — RC1 (71.88 Kbytes on 2018/04/21)
- yes_no_world-0.8.zip — First version upload (71.81 Kbytes on 2018/04/21)
- two_worlds.zip — Submission (353.37 Kbytes on 2018/04/21)
This is Sam's journey to the underworld.
Source code is on GitHub: https://github.com/pvcraven/two_worlds
Artwork by me, using Aesprite.
This program uses the Arcade library.
I made use of the Arcade Sample Code library.
- Shuttle.zip — finished (61.95 Mbytes on 2018/04/22)
First thing first:
-there are citations for the music and some of the background images
-and everything else is drawn with paint.net by myself
-a cute creature, namingly Tushlet, will give you a lore of each mini game, explaining how beating the five mini games will make him free
-after beating all mini games, Tushlet is released and starts breaking your games, you have to re-seal him by playing each mini game again, but this time with ultra difficulty and a combination of RPG elements.
-after five mini games are broken, Tushlet will be re-sealed and your save file will be sealed with him, a riddle will lead you to a *secret place*. By following a scavenger hunt like *secret* hints, you will have to change files and folders in your game directory to unlock the other five mini games
-and this is the end of part 1, because, as I've been saying, making 10 mini games with two different levels is way too overwhelming for me in a week.
-in part 2, you will reveal background stories of Tushlet, of course, you can find Easter eggs in the first 5 mini-games which can be related to his background story.
-the end would an open end, the game would close itself and your save file will be modified a little for some other *secret* stuffs. And now, three of the five games are finished, only two to go! The "two worlds" theme can be discovered everywhere in the design of the game, normal - glitched world, game - disk world, real - surreal world, intelligence - strength world(the first 5 games are about intelligence, meaning that none to little cursor clicks, the last 5 games requires a lot of clicking and controlling skills). Throughout out the dialogs, Tushlet will also keep reminding you of how this games world is different form your reality, but related to the reality(TOK right here >:D).
- crossing_the_river-0.95-win.zip — Binary windows version 0.95 (PyInstaller) (6.68 Mbytes on 2018/04/21)
- crossing_the_river-0.95.zip — Source version 0.95 (566.64 Kbytes on 2018/04/21)
Your king are collecting armies and going to conquer a rich neighbour.
He needs a reliable way to quickly cross the flow with all his hordes.
Help him to start a war! Or do something else.
- updown_world.zip — game file (6.53 Mbytes on 2018/04/20)
- the_desert_and_the_sea_pyweek25.zip — Final Game (11.37 Mbytes on 2018/04/21)
Requires pygame, numpy and PyOpenGL
Windows users installing PyOpenGL: see installation notes in readme.txt.
- CoDoGuPywk25-1.0-FINAL.tar.gz — FINAL game entry, hope you enjoy! (3.27 Mbytes on 2018/04/22)
- bw_v5.zip — Black And White (934.47 Kbytes on 2018/04/22)
- bw_v4.zip — Black And white (934.46 Kbytes on 2018/04/21)
- bw_v3.zip — Black And White (934.46 Kbytes on 2018/04/21)
- bw_v2.zip — Black And White (67.30 Kbytes on 2018/04/21)
- bw.zip — Black And White (67.18 Kbytes on 2018/04/21)
Black And White is a 2D platformer "game"
Master the two worlds where black becomes white, up becomes down and left becomes right to reach the blue portals which are your milestones to a hopefully more colorful world.
Everything can be controlled with cursor and space keys.
Use s to skip a level and r to reset player's position if got stuck.
Python 3.x necessary.
- WorldOfAManGoneMad-exe.zip — exe (66.81 Mbytes on 2018/04/22)
- WorldOfAManGoneMad.zip — source - requires (kivy, pymunk) (16.31 Mbytes on 2018/04/21)
NEWER VERSION AVAILABLE (much smaller file size + personal records added + minor bug fix)
A Stealth / Bullet Hell / Story game.
I kidnap you and make you play my game and your goal is to escape.
There are many different endings and 9 items to collect throughout them
It is really hard at first, but take some time in challenge mode and you'll get it i promise
I really hope to see some speedruns!!!
BIG WINNER ending 9/9 items. Do it in under 3 minutes and i'll be impressed XD
source requires (python 2.7, kivy, and pymunk)
(not tested on python 3)
I really hope the exe works for you guys. For me, there's a little error dialogue box that shows up when you start it. I just click ok and it seems to work fine.
WASD - Move
SPACE - Shoot
CLICK/DRAG - Aim
ESC - Pause / Return to Menu / Leave Game (not recommended)
- source.zip — source code(need kivy) (23.40 Kbytes on 2018/04/19)
Bitetris,means bi-tetris, player plays two tetris at the same time. As in a Louis Cha novel, Zhou Botong created his unique skill "Left and Right Inter-fighting". I think my game style is this, maybe a little hard, but just for fun. Don't worry, be happy :)
The game is written in kivy, I already package it for android, you can just install the .apk file(githublink). Or if you are on Windows, there is another choice, you can download the .zip file(githublink). Of course you can try the source code(githublink), be sure to follow the installation guide on kivy's official site :) All the versions I have already uploaded here is the same of the github link I mentioned :)
On windows, wsad & ↑↓←→ for control the left & right screen operation
On android, swipe up,down,left,right in left & right screen to control
ps. About the password in title screen. hint is already there :) The game has no sound, sorry about that, and no animation effect, I am quite lazy in fact :)
- dark-world-1.0.0.zip — The Dark World server code (4.25 Mbytes on 2018/04/22)
- pyweek25.zip — Game (1.45 Mbytes on 2018/04/22)
- runia-chronicles-windows-binary.zip — Final Submissin (Windows only) (21.40 Mbytes on 2018/04/22)
Runia Chronicles is a story-based RPG following 3 characters. It is presented in the same way a tabletop RPG would be, with a dungeon master. In this way, there are two worlds, the fantasy world, and the world of the players and DM themselves.
The only controls are arrow keys, escape, and enter.
Audio volume seems to be vastly different on the 2 PCs I tested it on, so definitely go adjust the volume settings.
I built an engine alongside the game: www.github.com/Steven-Wilson/pyxelen
Now that the entry is complete, I will probably make some changes to the game engine. I built it in only 1 week to go along with this entry, and spent 5 days of that primarily on the game itself, only the first 2 on the engine. I just didn't have enough time to do cross-platform or a lot of the features I really want.
If people are really interested in trying it out, I would try to have at least Ubuntu Linux support in the engine in the near future and make it pip-install-able. I don't own a Mac so I think that means compiling c-extensions for Mac is out of the question, but I haven't done enough research on that to know for sure.
- Jim's_Big_Win.zip — Jim's Big Win (17.98 Mbytes on 2018/04/21)
Made in Python3
run "main.py" to play game using python 3
Arrow Keys Used for navigation and moving Jim
Space Bar is used to move through story
Jim wins Big
Music drawings code made by speedlimit35
code voice acting made by kylerchin
First pygame no experience at all :( But we thought it would be fun so we are doing it.
#嗨嗨嗨 歡迎光臨 this is our pyweek 25 game Made By kylerchin and speedlimit35 artwork and music made by speedlimit35 voice acting bu kylerchin
made with python 3 and pygame
Download our pre-compiled packages on the releases page (totally nonezz virus)
Build from source
First, download all the requirements pip3 install -r requirements.txt
Run the program! python3 main_menu.py
To self package: pyinstaller
- pyweek25_twofronts3.zip — two levels, slight improvement (5.98 Mbytes on 2018/04/21)
- pyweek25 twofronts2.zip — Two levels of play (5.98 Mbytes on 2018/04/21)
- pyweek25_twofronts.zip — One level barely finished. (5.94 Mbytes on 2018/04/21)
- Through the dark.zip — The game code and the read me. (4.46 Kbytes on 2018/04/21)
- game.py — Through the dark (18.57 Kbytes on 2018/04/21)
I have been seeing this challenge from the outside for a while, but now i would like to participate to have some fun.
This is my game, the little red dot is the player and the objective is to reach the yellow square, but you are surronded by walls, as you can see in the image is impossible to reach the goal, but there is a way, you can turn off the light with the green square and this will change the the walls surronding you, the problem is that with the light off you can't see any thing, but don't worry you have a very special object that let you shot visible balls around you and this balls will bounce with the wall, showing you the way to the goal, but be careful you only have three shots, of course you can recharge with the blue square.
- parallel-py27.zip — Parallel for Python 2.7 (3.39 Mbytes on 2018/04/21)
While the screenshots may not seem like a lot, I focused a lot more on animations and special effects this time, so you really have to see the game in action to get a good feel of what it's really like.
- Guardian of The Tree.zip — Guardian of The Tree Executable (37.50 Mbytes on 2018/04/20)
This game is really easy and is 5 minutes long. It's meant to be enjoyed for it's aesthetic.
I made everything used in this game(code, art, SFX, music, etc.) completely by myself. :D
Download (Source and Executable)
- Contrast.zip — Universal Port (Hopefully) (118.90 Mbytes on 2018/04/22)
In contrast, you play as 0x, a lone creature in a monochrome, industrial world.
While traversing through the game, you have the power to "Flip" the background, making some objects interactable, and some uninteractable.
For example, a White Block in a black background would be interactable, but a black block in a black background would be uninteractable, and vice versa.
This is all to collect the elusive RGB Sphere, the only color in the melancholy world.
Work your way through 15 challenging levels, using the mechanics and obstacles to obtain the RGB sphere and bring color to this world.
Main Programmer: Pygasm
Source can also be found at: https://github.com/Pygasm/Contrast
Requires python 3.x and pygame.