This jam is now over. It ran from 2018-03-16 11:00:00 to 2018-03-19 21:00:00. View results

Best practices? PFSH

Cram that game in there in the 1-Class Jam. Write whole games in a single class - how far can you go?

In a jam about breaking the rules, there are quite a few:

  1. You are allowed to use any editors, engines or libs, BUT:
    1. All game logic must exist within a single class called "Game" (or equivalent)
    2. There can be no subclasses, structs etc
    3. The only other classes outside of the "Game" class you can use are the ones provided natively by your engine/API. If you need to write it, it needs to be inside the "Game" class
  2. You must publish the source (so no one will ever hire you later)
    1. It's a single file, so you can post even just that one
  3. You are allowed to feel dirty about it
    1. You are also allowed to feel secretly good about it

Bonus achievements:

  1. Multiple games in a single source file
  2. Your code is actually readable
  3. Your code is COMPLETELY unintelligible (but functional)
  4. Things actually make some sense
  5. You feel no shame in the result
    1. This can be either because you're completely shameless or because you're actually proud

FAQ

  • Why the hell are you doing this?!
    • It come straight down from a joke in this twitter thread. The more I think about it, the more it seems that something like this would be an interesting puzzle to piece together.
  • Have you no shame?
    • No.
  • Do you usually code like this?
    • I hope no one does. (unless it works flawlessly within your team/scope and it's completely maintainable, which I find unlikely, but hey, stranger things have happened!)


Submissions(15)

All submissions
·
Browser playable (7)
·
Windows (9)
macOS (3)
Linux (2)

No submissions match your filter

A deep commentary on social media.
Action
A Jam game about keeping a railway going with one train
Puzzle
Play in browser
A simple 1 vs 1 multiplayer card game
Simple snake game made in 3h for The 1 Class Jam.
Action
Play in browser
Break that sh*t!
Action
Play in browser
A simple shmup contained in a single class.
Shooter
Play in browser
1 Class Game Jam entry.
1 class shooter game, with just one source code, without any asset file. made for the 1 class jam.
Shooter
A 2D infinite runner set in the Wild West.
Play in browser
Project for 1ClassJam
Platformer
How many times can you dodge the shapes!?
Hey You! Let's Sword Fight!
Card Game
Play in browser
Game made for the 1ClassJam. Try to get into the best place in heaven by passing the pizza cat seed making test!
Play in browser