LearnC
Contains source code and resources for the Ebook Learn C Games Programming For Beginners Windows edition. (by David-H-Bolton)
smenu
smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use. (by p-gen)
Our great sponsors
LearnC | smenu | |
---|---|---|
5 | 37 | |
15 | 2,329 | |
- | - | |
0.0 | 8.2 | |
over 1 year ago | 26 days ago | |
C | C | |
MIT License | Mozilla Public License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LearnC
Posts with mentions or reviews of LearnC.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-10.
-
How would I structure a game engine in C that uses SDL2
Yes I have written a game in C/SDL2. It's 2,200 lines long. The Windows C code (actually easy to convert to Linux) is in the asteroids_ch48.zip file in https://github.com/David-H-Bolton/LearnC You'll need the sounds and graphics and have to install SDL2 on your PC.
-
Is C a decent programming language for small(ish) games?
I wrote an asteroids game in C with SDL2 about 2,200 lines. On Windows and Linux. It had aliens, ran at 60 fps, had pixel perfect collision detection and a high-score table. Source code is on GitHub( Windows version) and Linux. In both cases you need the chapter 48 files plus the graphics.zip and sounds.zip in the Windows folder.
-
Ast3r0id: My first ever game in C with SDL2
I too wrote an Asteroids game in C with SDL2. It's about 2,200 lines long and there's a Linux (compiled with clang) and Windows (compiled with Visual studio 2019) version. The Linux one The Windows one.
-
raylib vs SDL2 vs Allegro. Which would you recommend for simple games?
I wrote asteroids in C + SDL2 about 2,000 lines of code and that included high score table, and high speed pixel perfect collision detection. The code is here: Windows C source code (Visual Studio), or Linux C Source code (VS Code + clang). The chapter 48 has the full version; the other chapters are steps.
-
100k members! To celebrate, what is your favorite piece of C code you have written?
An asteroids game. 2,200 lines of C (with SDL2). Best bit is the collision detection which I devised; it's pixel perfect and runs at 60 fps. Windows source code is here (use the asteroids_ch48.zip file) https://github.com/David-H-Bolton/LearnC and Linux https://github.com/David-H-Bolton/LearnCOnLinux
smenu
Posts with mentions or reviews of smenu.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-04.
-
Lineselect 0.1.6
You can also use smenu (https://github.com/p-gen/smenu) to make these and many other selections.
-
smenu clean window effect
Here are the relevant bits of the source (in [smenu.c](https://github.com/p-gen/smenu/blob/master/smenu.c):
-
So you've installed `fzf`. Now what?
Here are the bindings for smenu-history, I found somewhere at the site:
-
I created a full POSIX sh menu.
I suggest a name change, so your smenu, isn't confused with this smenu, which is a totally different entity, can present the menus in columns, lines and tabular fashion, has hotkey support, and so much more, I don't know if it is POSIX compliant, but it can also be used with sh, and just not bash.
-
Recommendations for CLI / terminal utilities for dialog or confirmation prompts?
smenu for menu and dialogs
- smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool/filter for interactive or scripting use.
- smenu v1.2.0 is released.
- smenu v1.2.0 is available with improvements in the multiple selections feature.
What are some alternatives?
When comparing LearnC and smenu you can also consider the following projects:
permafrost-engine - An OpenGL RTS game engine written in C
RAGENativeUI
2n - 2048 clone for the console, written in C
kks - Handy Kakoune companion.
cave9 - gravity cave-exploration game (SF-Cave goes 3D)
notes - notes on the tools in my Unix/Linux toolbox, dotfiles, etc
hos-x86 - A simple Unix like operating system from scratch.
cleanit - Cleanit cleanup your ~/Downloads and ~/.Trash directory, and set the cleanup schedule on your MacOS.
tilck - A Tiny Linux-Compatible Kernel
hx - Hex editor for the terminal using plain C99 + POSIX libs.
no - A silly, useless alternative to the well-known UNIX "yes" command
sn - Simple Notes using fzf