Study
C++ Game: Segfault
Teaches C++ to complete beginners as a game where you tap one real line of code at a time.
Free to play. Halls 1 to 4 are free with no time limit, and free players can watch optional rewarded video ads for bonuses. Segfault Pro, a monthly subscription or a 3-month pass paid once, opens hall 5 and up, unlimited practice sets and mock exams, with no ads.
App updated
Screenshots
What it does
- Tap one real C++ line at a time and watch it run
- 11 halls from variables to if, loops, functions and arrays
- Every line compiled and run with a real C++ compiler
About Segfault
Who it's for
Segfault is for complete beginners, roughly 15 to 22, who want to understand C++ but find textbooks hard to start with. You do not need to have written any code. It is built for phones and for people learning in a second language, so the words stay short and plain.
How it works
You never type. Each card shows a box holding a value and a bubble with the number it needs. Tap the one real line of C++ that makes the box match, and watch the value fly in. The line you ran appears underneath. Drops introduce one new idea at a time, and every hall ends with a boss drop that is one whole program. There is also a 60-second battle, a daily card with a streak, and a shop where points buy profile faces and card colours.
What it doesn't do
Segfault will not turn you into a programmer on its own, because you tap lines rather than write them. It does not claim to prepare you for any exam, school or syllabus. Points cannot be bought with money. The game text is in English. Halls 5 and up, unlimited practice and mock exams need Pro.
Guides
- What Does using namespace std Mean in C++ 2 min read
- What Happens If You Use an Uninitialized Variable in C++ 4 min read
- What Is the Difference Between endl and Backslash n in C++ 2 min read
- Why Does 5 Divided by 2 Equal 2 in C++ 3 min read
- Should You Learn C++ or Python First 2 min read
- What Does int main() Mean in C++ - A Beginner's Line by Line Answer 1 min read
Questions
Does Segfault work offline?
Yes. Every hall plays offline. The internet is used only for optional features such as the backup code, class rooms, rewarded ads and Google Play purchases.
Do I need an account?
No email, no password and no sign-in. Your game can be backed up under a 12-character code, which is the only key to it. Keep it and your game comes back on a new phone. You can delete the backup from the gear menu.
What are class rooms?
An optional feature. You make or join a room with a room code, and classmates in that room see the nickname you chose and how many lines you have run. Nothing else is shared, and never your name or email.
What happens to my progress if Pro ends?
You keep your progress in halls 1 to 4, your points, stars and everything you bought with points. Pro only opens hall 5 and up, unlimited practice and mock exams, and removes ads.
Details
- Package
dev.mdwalid.segfault- Life area
- Study
- Languages
- English
- Works offline
- Yes
- Price
- Free to play. Halls 1 to 4 are free with no time limit, and free players can watch optional rewarded video ads for bonuses. Segfault Pro, a monthly subscription or a 3-month pass paid once, opens hall 5 and up, unlimited practice sets and mock exams, with no ads.
- App updated
- 19 Oct 2026
- Privacy
- Privacy policy