space-shooter.c
learnxinyminutes-docs
space-shooter.c | learnxinyminutes-docs | |
---|---|---|
19 | 226 | |
1,317 | 11,163 | |
- | - | |
0.0 | 9.5 | |
over 1 year ago | 5 days ago | |
C | JavaScript | |
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.
space-shooter.c
-
Beginner, intermediate, and advanced c programming projects
You can do something like this, but way less polished and stick to one platform: https://github.com/tsherif/space-shooter.c/tree/master
- Advice for bigger c projects?
- Good open source games written in C?
- are there tutorials for code organization for games in C?
-
Podcast: Modern C for Absolute Beginners
Otherwise study real, mature, well-written C programs. There's a wealth of techniques and tricks that aren't really documented anywhere, but rather picked up from others. Recommendations off the top of my head: BSD utilities, musl, and SQLite. Or simply study the source for your favorite C software. Also, something good posted here recently: The Architecture of space-shooter.c.
- The Architecture of Space-Shooter.c
- The Architecture of space-shooter.c
-
space-shooter.c: A cross-platform, top-down 2D space shooter written in C using only system libraries
I wrote space-shooter.c as a personal challenge to create a game from start to finish in C without using any 3rd-party libraries and wanted to share the source as a reference for anyone who's also interested in this type of game programming. The source code is heavily-commented, and I'm also writing a (still WIP) architecture guide that goes over the design decisions and details I learned about working with OS APIs in C: https://github.com/tsherif/space-shooter.c/blob/master/ARCHITECTURE.md
- Space-shooter.c: cross-platform, top-down 2D space shooter written in C
learnxinyminutes-docs
-
Scripts should be written using the project main language
> Sure, maybe for some esoteric edge cases, but 5 mins on https://learnxinyminutes.com/ should get you 80% of the way there, and an afternoon looking at big projects or guidelines/examples should you another 18% of the way.
Not for C++, and even for other languages, it's not the language that's hard, it's the idioms.
Python written by experts can be well-nigh incomprehensible (you can save typing out exactly one line if you use list-comprehensions everywhere!).
Someone who knows Javascript well still needs to know all the nooks and crannies of the popular frameworks.
Java with the most popular frameworks (Spring/Boot/etc) can be impossible for a non-Java programmer to reason about (where's all this fucking magic coming from? Where is it documented? What are the other magic words I can put into comments?)
C# is turning into a C++ wannabe as far as comprehension complexity goes.
Right now, the quickest onboarding I've seen by far are Go codebases.
The knowledge tree required to contribute to a codebase can exists on a Deep axis and a Wide axis. C++ goes Deep and Wide. Go and C are the only projects I've seen that goes neither deep nor wide.
-
100+ FREE Resources Every Web Developer Must Try
Learn x in y minutes: Concise tutorials to learn various programming languages and tools quickly.
- SQL for Data Scientists in 100 Queries
-
New GitHub Copilot Research Finds 'Downward Pressure on Code Quality'
StackOverflow's making their own competing LLM for all this stuff.
IMO, one of the biggest problems with the way people use LLMs right now, is that they're being treated as a single oracle: to know Java, it must be trained on examples of Java.
It would be much better if their language comprehension abilities were kept separated from their knowledge (and there are development efforts in this direction), so in this example it would be trained to be able to be able to read a Java tutorial rather than by actually reading a Java tutorial, so when the overall system is asked to write something in Java, the language model within the system decides to do this by opening https://learnxinyminutes.com and combining the user query with the webpage.
I think this will help make the models more compact, which is a benefit all by itself, but it would also mean that knowledge can be updated much more easily.
Someone would have to actually do this in order to see if those benefits are worth the extra cost of having to load a potentially huge a tutorial into the context window, and likewise the extent to which a more compact training set makes the language comprehension worse.
-
Ask HN: Programming Courses for Experienced Coders?
The project was created and is maintained by Adam Bard, but is open sourced with over 1.7k contributors since 2013
https://github.com/adambard/learnxinyminutes-docs
-
Ask HN: How to learn to be a programmer in 20 years?
So you have studied programming for at least 5 years, what kinds of programs have you written? Apparently you have already applied your skills, since you have "created a good reputation among developers"? Why a time-frame of 20 years, why not 20 months or 20 weeks? Heck, you can learn a lot in even 20 days!
Once you have learned a few languages, libraries and frameworks then learning new stuff becomes much easier. At that point I'd recommend to check the website https://learnxinyminutes.com. Meanwhile, continue asking questions here and elsewhere :)
An other tip, if you are into computer science and algorithms stuff I recommend you try to solve problems which are posted at https://codegolf.stackexchange.com. You don't need to try solving them in less than X characters, but just to get them solved by any means necessary. And don't take too much bad influence from the posted solutions.
- Lean 4.0.0, first official lean4 release
- Learn X in Y Minutes
-
how long will it take to learn JS?
If you want a brief overview, go to https://learnxinyminutes.com/ and look for Javascript. I guess it should be roughly the time it took to learn C++ or possibly less, but JS has its own quirks. Often learning a second language is difficult as the first.
-
Anyone got good resources for experienced devs that don't know front end?
Very light compared to the other resources people have linked for you, but I love https://learnxinyminutes.com/
What are some alternatives?
OpenHSP - Hot Soup Processor (HSP3)
learn-x-by-doing-y - ๐ ๏ธ Learn a technology X by doing a project - Search engine of project-based learning
roguelike.h - Header only roguelike rendering library.
the-road-to-learn-react - ๐The Road to learn React: Your journey to master plain yet pragmatic React.js
OpenTyrian - Open Tyrian source code
materials - Bonus materials, exercises, and example projects for our Python tutorials
Open-Golf - A cross-platform minigolf game written in C.
You-Dont-Know-JS - A book series on JavaScript. @YDKJS on twitter.
simple-opengl-loader - An extensible, cross-platform, single-header C/C++ OpenGL loader library.
tour_of_rust - A tour of rust's language features
duke3d - The icculus.org port of Duke Nukem 3D.
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++