WHILE (TRUE) { JAM(); } by cybersoftuk
A Ludum Dare Game Jam Simulator created for the LD-45 Game Jam ("Start With Nothing!")!
Dive into the seat of a game jam developer flying solo on another jam hoping that all of the modules can be completed (at least to some degree) before the ludum dare timer runs down!
MODULES: - CODE (GAME_CODE.CS) - ARTWORK (ARTWORK.PSD) - MUSIC (MUSIC.MP3)
FEATURES:(some working, some not) - Manage Energy Levels (if you let yourself crash you lose 8hrs of precious time) - Eat Pizza (2x slices available per day of the jam) - Drink Coffee (3x cups available per day) - Sleep (Re-Charge your energy levels - more effective than snacking but you lose time) - Mini Games that hopefully recreate the 'gist' of working on the various areas of a game (CODE, ARTWORK, MUSIC) in puzzle form)
I hope you have the time to check it out, its not a long game and a lot of the features aren't yet finished but i had a blast working on it, so that's what counts!
WebGL(HTML5) version now active!
Thanks
| Youtube | https://gonnabesirens.itch.io/while-true-jam |
| Youtube | https://gonnabesirens.itch.io/while-true-jam |
| Original URL | https://ldjam.com/events/ludum-dare/45/while-true-jam |
Ratings
| Overall | 741th | 3.259⭐ | 56🧑⚖️ |
| Fun | 854th | 2.915⭐ | 55🧑⚖️ |
| Innovation | 291th | 3.565⭐ | 56🧑⚖️ |
| Theme | 196th | 3.833⭐ | 56🧑⚖️ |
| Graphics | 705th | 3.264⭐ | 55🧑⚖️ |
| Humor | 403th | 3.028⭐ | 55🧑⚖️ |
| Mood | 876th | 2.904⭐ | 54🧑⚖️ |
| Given | 43🗳️ | 66🗨️ |
thanks @tohubohu, yeah there was supposed to be more focus on that timer and to make you feel like you are fighting against it but i didn't have enough time to create more complex time consuming challenges so i had the timer spread over a few minutes, this was also the idea behind the energy levels too (not really implemented..), to pull you away from what you are doing (a little maintenance). i'm glad you enjoyed it, thanks for checking it out!
Also, I don't know if that is a bug, but my energy bar (I suppose that was the purple bar at the top of the programming screen) always dropped to the lowest bar, no matter how much energy I had in the beginning.
an example of the solution for **Code Challenge #1**:
** string sql = "SELECT item_name FROM Inventory WHERE item_type = 'weapon' "; **
In the original idea i wanted to have more modules and much more challenges within them, and the ludum dare timer making it very difficult to finish everything 100%, so players could choose which modules to focus their time on.
Thanks for playing!
Yes, the energy depletion (snacks/sleeping and crashing out) unfortunately i didn't have enough time to finish.
Thanks for checking out the game!
WHAT THE HECK IS THE CODE FOR THE FIRST PUZZLE.
I really liked the use of theme and a making a game jam game about making a game jam game is awesome.
The two puzzle ideas are awsome, but my god what the hell is the answer.
ok, i will try to explain it better, it's simply a case of reading the code (and the hints in the bottom left of the screen, plus the hints in the help button - top right) and modifying the code on the screen to fix the bug:
** ORIGINAL CODE **
** ------------------------------------------------------------------------------ **
```
CONN.OPEN();
LIST<STRING> WEAPONS_LIST = NEW LIST<STRING>();
STRING SQL = "SELECT BLANK FROM INVENTORRRRY WHERE SOMETHING = 'SOMETHING_ELSE' ";
USING (SQLITEDATAREADER READER = CMD.EXECUTEREADER())
{
WHILE (READER.READ())
{
WEAPONS_LIST.ADD( READER["ITEM_NAME"].TOSTRING());
}
}
CONN.CLOSE();
```
** ------------------------------------------------------------------------------ **
Pay attention to this part of the code:
STRING SQL = "SELECT **BLANK** FROM **INVENTORRRRY** WHERE **SOMETHING** = '**SOMETHING_ELSE**' ";
An SQL SELECT statement is designed to query a database and the main structure is:
** SELECT FIELD_NAME FROM TABLE_NAME WHERE FIELD_NAME = 'some_text' **
e.g ** SELECT PRODUCT_NAME FROM STORE_PRODUCTS WHERE PRODUCT_TYPE = 'HAT' **
this should select all the hats from the database and return the name of the product for them.
So we can see that in the original code above, the SELECT statement is missing some information and there is one misspelling:
- ** BLANK ** = ITEM_NAME (as the help tells you we want a list of weapon names and is also included at the bottom of the code when it's being added to the list from the search results)
- ** INVENTORRRRY ** = INVENTORY
- ** SOMETHING ** = ITEM_TYPE (listed in the help description)
- ** SOMETHING_ELSE ** = 'WEAPON'
So, select the item_name(s) from the inventory table where the item_type is listed as a 'weapon' (or select all weapons from the the inventory table and list their names i.e sword, crossbow, hammer etc..)
so the code to solve the challenge would be:
** --------------------------------------------------------------------------------- **
```
CONN.OPEN();
LIST<STRING> WEAPONS_LIST = NEW LIST<STRING>();
STRING SQL = "SELECT ITEM_NAME FROM INVENTORY WHERE ITEM_TYPE = 'WEAPON' ";
USING (SQLITEDATAREADER READER = CMD.EXECUTEREADER())
{
WHILE (READER.READ())
{
WEAPONS_LIST.ADD( READER["ITEM_NAME"].TOSTRING());
}
}
CONN.CLOSE();
```
** --------------------------------------------------------------------------------- **
Sorry if it's confusing!
Thanks for playing!
Realy cool game that's realy suits the theme. I love this game.
This is the first game in which I ever needed to write SQL in a game. I'm not sure why anyone would use a database to make a game, but I guess sql was the easiest language to use for a simple coding exercise.
For the code challenge, not everyone who does LD is a programmer, those who are programmers not all of them will know SQL, and even then without error messages and such could get stuck. I don't know SQL (maybe I should learn it!) so I ended up copying your solution in and it still wasn't right, turns out I missed out a semi-colon :face_palm: I would suggest keeping it real simple (for loops/while loops stuff like that) or simple pseudocode. Also consider using rich text, that way you could have variables be one colour, functions another etc like an IDE would have.
The art challenge is well executed and works perfectly, I like the graphics and the idea is really fun!
Thanks for the feedback, yes, i realise not everyone here is programmer but i wanted the modules (mini-games) to feel like something very similar to the work you would be doing on that section in a real game jam (rather than just clicking) and if coding was not the players strong suit they could work on the other modules as the original plan was not to allow the player enough time to finish all modules (like a real game jam) and they would have to decide what to focus on, sadly the time constraints meant i only had a few quick puzzles to throw in and the energy levels and countdown timer isn't 100% so that doesn't really come across.
Syntax highlighting would be a great idea and someone also suggested a clearer font which in hindsight would have been better for the code challenges.
@bootak
Thanks, I was thinking of a dope sheet style mini game for the music where you have a reference piece of music, a bunch of sounds and you have have to slot them into the right place for the right amount of time, starting and finishing, to re-create the sound (e.g the sound that might be in your head when you brainstorm music ideas for your game)
The idea behind the dev log posts was about getting a higher audience score when your game is uploaded (i.e more exposure) but it would come at a sacrifice of time (like sleeping was supposed to..)
@wojciech-bruski
haha - yeah i still haven't calmed down since the jam ended!
@flying-dog-fish
exactly - that is why i chose the SQL as it was the easiest to implement (basically strip down and compare to a master string) rather than having to write an interpreter, so an SQL SELECT came to mind as it is a small one liner where you fill in the missing blanks.
Thanks to everyone who has checked out the game so far!
Had a lot of fun "
I any case, cool idea! Love it!
Did you see your counterpart? 😉
https://ldjam.com/events/ludum-dare/45/ludum-dare-simulator
I did see the other entry, it seems to have done very well, it had the end result i wanted with the scoring for the players project.
Thanks!
P.S. Your title broke my computer (lol)
* The game tells me that I'm hungry but I couldn't find how to eat some pizza =(
* It doesn't let me work on the music if I don't complete the other modules and I couldn't manage to complete the code part, I guess because I was hungry and needed food, but couldn't find food...
* I think the bar that tells me my energy level is bugged, it stays on 80%, I only knew that I was at 10% energy at the sleep menu
Things I liked:
* The art module is very fun!
* The timer fits the jam theme and makes the game very challenging! It makes me want to keep retrying until I get it, it's fun.
* The graphics set the mood nicely, well done!
The meta-idea to do a game about the jam process is awesome, I think if you had managed to complete all the features or at least make the game able to be finished it would definitely be a 5/5 game!
The music module i held off on as i wanted to go with a better idea than i had at the time so that screen as well as the LD posts were deliberately blanked off.
It's great to hear you liked the rest of the game and the main concept - thanks!
I'm not sure what the purple bar at the top is displaying when you're in the code/art screen either.