Skip to content

deathraygames/master-of-13k-suns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Master of 13000 Suns

An incremental space game in a procedural galaxy in 13kb Made for JS13k Games 2021

Play

JS13k

Post Mortem

I didn't have too much time to work on this game during the jam's month, so I went with simple design based off a previous game Master of a Thousand Suns (which is even more simple). My general goals were:

  • 4x gameplay: Explore, Expand, Exploit, Exterminate
  • Slow incremental gameplay - easy to begin, but takes forever to complete
  • Mobile-friendly
  • Of course: Fit it all into 13kb!

Compression

Rather than using webpack for compression like last year, instead I used vite - mainly because I was already using it for a quick and easy dev server, but also because the build process was super easy. I didn't do any minimizing of my code by hand (i.e., code golf, Xem-style js) because fortunately I wasn't close to the limit.

  • Source: ~44.9 KB
    • js scripts: ~36.8 KB
      • Empire.js: 16.1 KB
      • game.js: 11.8 KB
      • All others: ~9 KB (but not all were really used)
    • html/css: 7.95 KB
  • Minified: 26.2 KB
    • js: 18.3 KB
    • html/css: 7.98 KB (it actually went up a tiny amount)
  • Zipped: 8.95 KB (Plenty of extra space!)

Feedback

  • Shortest (impatient) play-thru possible: https://youtu.be/uF1W_mfcCN8?t=369
  • "Nice layout. I would definitely have benefited from a short tutorial and/or a way to speed up time"