-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
It would be great to have 1 file that contains the game and include other files that contains the structs created in the game.
I was tring to make a game.jl that had "include(snake.jl)".
In game.jl, all the loops and conditions would be verified, while the snake.jl file would have the definition of the struct snake and its methods. But when i try to do "include(snake.jl)" I get "LoadError: UndefVarError: include not defined".
Apperantly, there's no function "include" in gamezero, or it erases the base function from julia. I don't uderstand exactly
Metadata
Metadata
Assignees
Labels
No labels