My

My platforming game written in C 89

Hacker News

My platforming game written in C 89

I have been working on this game somewhat sparsely for the past three years or so. However, it is still in a very early stage, and there is a lot of work to do. One of my friends encouraged me to post about it here, since he felt people might find interesting how I don’t use any libraries for it. The game can be played on a browser by virtue of WebAssembly. There are native ports using either MiniFB or SDL2, but you have to build those yourself. I decided to write the game in C because I feel like it is a simple language that a lot of people can understand well enough, and I didn’t think I needed anything more involved or complicated. Over time, the game’s code became complicated, and I decided to use advanced features such as coroutines and higher order procedures, besides general overly engineered abstractions. But then, over time I grew to feel like a lot of those abstractions didn’t really add anything to it, and just made it more complicated (and oftentimes more buggy) than it really needed to be, so a few weeks ago, I made a significant refactoring to it to remove all of those abstractions without removing almost any features from the game. Milestones are released effectively whenever I get the game’s code to a decently presentable state. Sometimes, this means there are a lot of changes and big refactorings, but sometimes it means there are only a few small changes. The game uses a simple 2D model system to generate images for the character’s animations dynamically during initialisation. (The source code can be browsed using a web browser on its page.) The character can be controlled using the arrow keys or “WASD” (“A” and “D”) (double-tap a direction to jump).

Share card

Actual performance

127points
43comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, using, code · Missing: mac, agents, macos
91%91% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
71%71% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
70%70% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform · Missing: plus, intuitive, reviews
38%38% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Li
Lightcube, a Game Written in Octaspire Dern57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lightcube, a Game Written in Octaspire Dern

Hacker News44
Sn
Snake game written in wwwbasic47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Snake game written in wwwbasic

Hacker News1
Ga
Game Written in Go57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Game Written in Go

Hacker News2
Sn
Snake Game Written in Clojure54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Snake Game Written in Clojure

Hacker News1
Ve
Vessel – A game written in Elm63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Vessel – A game written in Elm

Hacker News1
Si
Simplistic game for iOS written in OpenGL ES 2.066%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simplistic game for iOS written in OpenGL ES 2.0

Hacker News2
Rm
Rmux, a Redis multiplexer written in Go67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rmux, a Redis multiplexer written in Go

Hacker News2
Ri
Rift – An Intel 8051/52 assembler written in Java45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rift – An Intel 8051/52 assembler written in Java

Hacker News4
A
A Tmux Keylogger Written in Bash74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Tmux Keylogger Written in Bash

Hacker News4
A
A pipelined RISC-V processor written in VHDL67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A pipelined RISC-V processor written in VHDL

Hacker News65