-
Notifications
You must be signed in to change notification settings - Fork 23
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
Restructure GameZero #34
base: master
Are you sure you want to change the base?
Commits on Jan 14, 2021
-
Add triangle struct, getPos and draw-functionality
Since polygons are essential in graphics, I added triangle as a struct and added draw-functionality. Furthermore, I added getPos for this struct.
Configuration menu - View commit details
-
Copy full SHA for f42573d - Browse repository at this point
Copy the full SHA f42573dView commit details -
Make circle drawing more scalable
By usage of trigonometric function, I was able to reduce the computational complexity of the algorithm from O(r^2) to O(r).
Configuration menu - View commit details
-
Copy full SHA for 9f742e3 - Browse repository at this point
Copy the full SHA 9f742e3View commit details
Commits on Jan 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 294cda8 - Browse repository at this point
Copy the full SHA 294cda8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e2f50 - Browse repository at this point
Copy the full SHA e4e2f50View commit details -
Fix naming convention to julian
Since the julian style convention is variables with only lower case characters, functions with lower case and underscore, and structs with camel case with upper case for the first letter, I changed files according to this standard (with some exceptions). Furthermore I changed some styling, like new lines in order to not go beyond 80 chars on one line.
Configuration menu - View commit details
-
Copy full SHA for 6acd941 - Browse repository at this point
Copy the full SHA 6acd941View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a0e31 - Browse repository at this point
Copy the full SHA d3a0e31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89ef31e - Browse repository at this point
Copy the full SHA 89ef31eView commit details -
Fix structure and spelling in all files
1. Removed parentheses around conditionals in while and if statements, since it's more julian. 2. Made spelling more julian. 3. Changed tab size from 4 to 2, since most packages use this as standard. 4. Respelled `schduler` to `scheduler` in exports. 5. Removed `line` from exports. 6. Moved Game-utilities from `GameZero.jl` to a separate file `Game.jl`, and thus `GameZero.jl` only contains exports, imports and includes. 7. Restructured `GameZero.jl` to make it clear what it depend upon and exports. 8. Moved Geom-utilities from `screen.jl` to a separate file `Geom.jl`. 9. Renamed `screen.jl` to `Screen.jl` since it represents a struct. 10. Made a folder for keyboard-utilities. 11. Moved every keyboard module to their own module-file. 12. Renamed `keyboard.jl` to `Keyboard.jl`, since it only contained functionality for the Keyboard struct. 13. Made a folder for timer-utilities. 14. Created a file in `timer/` for WallTimer-utilities, and removed the same content in `timer.jl`. 15. Created a file in `timer/` for Scheduled structs and utilities, and removed the file `timer.jl`. Creating modules to be separate files
Configuration menu - View commit details
-
Copy full SHA for e6b6792 - Browse repository at this point
Copy the full SHA e6b6792View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb6914 - Browse repository at this point
Copy the full SHA 6cb6914View commit details
Commits on Jan 17, 2021
-
Add '###...' between types, methods, etc
In order to achieve more structure in the code.
Configuration menu - View commit details
-
Copy full SHA for d970a7f - Browse repository at this point
Copy the full SHA d970a7fView commit details