Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to pure and clean C (+ Makefile isn't the best tool for this) #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

DaAppoxy
Copy link
Collaborator

@DaAppoxy DaAppoxy commented May 2, 2024

Even though the suggested C code isn't optimized at its finest, it's much more readable.

One compilation unit for each part of the game, with a mix of functional and object oriented programming.

Comments in french might not be the best thing (except if you're okay letting a baguette breach vulnerability in your code), I translated some of them.

Also make might not be the best tool for this. I made a bm.py file which seems to be more fitted for recompilation and optimization if the project grows. Using python let us make the output cleaner and have more control over how everything is managed when compiled/run.

@kernelb00t kernelb00t requested review from kernelb00t and removed request for kernelb00t May 2, 2024 20:30
@kernelb00t kernelb00t marked this pull request as ready for review May 2, 2024 20:51
@kernelb00t kernelb00t requested review from kernelb00t and removed request for kernelb00t May 2, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant