Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: The Gas Chamber Game
 Post Posted: March 26th, 2017, 4:20 pm 
User avatar

Joined: February 27th, 2017, 7:43 pm
Posts: 12
Simple game.
I tried to put this on github, but i got some problems. I will figure it out later.
The huge weight is due to title, lose, and win screens i think (MASSIVE putPixel shit).
It is too big for the forum so here is link:
http://www.filedropper.com/thegaschamber


Top 
 Profile  
Reply with quote  
 Post subject: Re: The Gas Chamber Game
 Post Posted: March 26th, 2017, 7:40 pm 
 

Joined: February 28th, 2013, 3:23 am
Posts: 2711
Location: Oklahoma, United States
I like the code layout, looks good.

Maze generation is fun to do. Nice job, you are using the Depth First Search algorithm correct? If you find any other maze generating algorithms, I'd like to see them.

The depth first search algorithm maze generation is fine, but there are few dead ends just because of the nature of the algorithm.

_________________
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com


Top 
 Profile  
Reply with quote  
 Post subject: Re: The Gas Chamber Game
 Post Posted: March 26th, 2017, 8:16 pm 
User avatar

Joined: February 27th, 2017, 7:43 pm
Posts: 12
I was struggling with making the algorithm myself, so i googled some and took the one which looked simple and i could code it myself reading only pattern. This one is called Recursive backtracker and as far as i can tell the problem with it is that the path to the end is pretty straight, it is hard to get lost. I will take a look on the other ones when i will have some time, and maybe implement them.


Top 
 Profile  
Reply with quote  
 Post subject: Re: The Gas Chamber Game
 Post Posted: March 26th, 2017, 9:34 pm 
User avatar

Joined: September 17th, 2013, 5:55 am
Posts: 30
Location: USA
Nicely done. :)

Compile takes some time due to 500K+ lines of putpixel. :lol:


Top 
 Profile  
Reply with quote  
 Post subject: Re: The Gas Chamber Game
 Post Posted: March 26th, 2017, 9:45 pm 
User avatar

Joined: February 27th, 2017, 7:43 pm
Posts: 12
Not my fault that my teacher doesn't yet told me how to load sprites :]


Top 
 Profile  
Reply with quote  
 Post subject: Re: The Gas Chamber Game
 Post Posted: March 27th, 2017, 3:57 am 
 

Joined: February 28th, 2013, 3:23 am
Posts: 2711
Location: Oklahoma, United States
Ha, since the folder was copied into ZIP, I just opened the exe from the Debug folder. Never even tried to compile. After trying to compile Yumtard's project with all his PutPixel calls, I'll just wait for actual sprites to take their place.

_________________
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com


Top 
 Profile  
Reply with quote  
 Post subject: Re: The Gas Chamber Game
 Post Posted: March 28th, 2017, 12:26 pm 
Site Admin
User avatar

Joined: December 31st, 2011, 4:53 pm
Posts: 3402
Location: Japan
Well... it took like approximates a billion years to compile, but it was all worth it for that beautiful Hitler portrait. Those colors really make his eyes pop.

Nice work on the maze generation, good programming exercise there. I'd like to explore some procedural generation ideas sometime, either in the mainline series or as a side video(s).

_________________
Chili


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 7 posts ] 

Board index » Everything


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: