MotorMC
wordwarvi
MotorMC | wordwarvi | |
---|---|---|
4 | 4 | |
110 | 102 | |
- | - | |
0.0 | 1.9 | |
3 months ago | 12 months ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
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.
MotorMC
-
What is your best project using C?
My best project would be my remake of a Minecraft server in C, still very work in progress though. Through building it I’ve learned a lot about C (I didn’t even know about bit fields or inline functions for a while when first starting the project)
-
This new code library might increase Minecraft server player counts in the future.
Hate to plug but I’m working on this exact same thing, except just rewriting Minecraft from scratch to work so with multiple cores. It’s still quite a ways out (doesn’t have entities rendering yet or an editable world) but the source is available here: https://github.com/garet90/MotorMC
-
How do I set up C using VS Code?
I’d install MSYS2 and then MinGW and GCC along with it, then you can add the mingw/bin to your PATH variable and it should work I made a GitHub Actions script once that installs MSYS and GCC for windows, here it is: https://github.com/garet90/MotorMC/blob/main/.github/workflows/build.yml maybe it’ll help
-
Anyone tried socket programming in C?
(Legit not joking https://github.com/garet90/MotorMC)
wordwarvi
-
Friday Post: What is something you made or solved in C that you are proud off?
Word War vi - side scrolling shootem-up kind of like Williams Defender.
-
how do i make a game in C
At a very high level, set up an array of objects in your game. Each object has the ability to draw itself, and move itself. Each iteration of the game, move all the objects, and draw all the objects and sample user input. Set up a timer to iterate the game 30 or 60 times per second. Here's one game I wrote in C that works in this way: Word War vi If you dig through old commits in the repo you can follow the development from the very beginning, which begins with just creating a GTK window with a button). Almost every commit in that repo should compile and run. There may be the odd one here or there that crashes, but 99% of them should be fine, so if you want to advance through the commit history and see how the game progressed over time, you can do that. I wouldn't presume say the code is exemplary by any stretch, but it's fairly straight forward, and it works.
-
Tree Sitter and the Complications of Parsing Languages
> Semantic Bovinator
Heh. A long time ago I wrote a video game[1] somewhat similar to Williams Defender, and casting about for some sort of "theme" for the game, I hit upon the "editor wars", the ancient storied battle between vi and emacs. You are ostensibly "vi", (a little spaceship vaguely reminiscent of the Vipers from Battlestar Galactica) cruising through system memory, evading system processes, GDB instances, etc trying to recover your ".swp" files. How to represent Emacs? Obviously, via a giant blimp! and I could display all sorts of messages on the side of the blimp, singing the praises of Emacs, and disparaging fans of vi. And the Emacs blimp had a "memory leak", which meant that pieces of the xemacs source code would literally leak out of the back end of the blimp, with the letters floating lazily away, like smoke. So that meant I had to take a look at the xemacs source, dig through it and try to find some funny bits to put in. Of course, "semantic bovinate" jumped out at me.[2]
[1] https://github.com/smcameron/wordwarvi
-
What is your best project using C?
Honorable mention probably goes to Word War vi
What are some alternatives?
mammoth - Scale a single world horizontally across multiple Minecraft servers.
atom-focus-mode - Atom editor extension - fades editor content and highlights only the lines you are working on
Kernel - Kernel for the LuaOS operating system
sublime-scheme-alabaster - Minimalist color scheme for Sublime Text 3
nps-lab-notes - Concise notes for NPS Lab, ICT Dept, MIT, Manipal
vscode-theme-alabaster-dark - Dark version of alabaster ported from https://github.com/tonsky/sublime-scheme-alabaster
kernel - The kernel for LibertyOS.
chip-walo - CHIP-8 Emulator using C and SDL2.
gaseous-giganticus - This program procedurally generates gas giant cubemap textures for the game Space Nerds In Space. https://www.patreon.com/smcameron
dpdk - Data Plane Development Kit
sws - Simple Small Static Stupid Whatever Web Server