https://github.com/danthe1st/-define-true-false
https://stackoverflow.com/q/61141836/10871900
https://github.com/danthe1st/-define-true-false
Last synced: 5 months ago
JSON representation
https://stackoverflow.com/q/61141836/10871900
- Host: GitHub
- URL: https://github.com/danthe1st/-define-true-false
- Owner: danthe1st
- Created: 2020-11-28T14:35:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-28T14:39:36.000Z (almost 5 years ago)
- Last Synced: 2025-02-17T09:45:08.722Z (8 months ago)
- Language: Java
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `#define TRUE FALSE`
by dan1st## Description
Booleans are crazy. Remember the `#define TRUE FALSE` from C?That is possible in java, too.
Do you not believe me? Try it out.
I even have a game for you.
Do not look at the file `Curser.java` before running it (You can run it in a VM if you don't want to run arbitrary code on your real device).
You can debug `CursedCode` if you don't step into methods of `Curser` to see that it really works.
Now, think how this could be possible.
## Run it
In order to run it, just compile the content of the source directory to another directory and run `io.github.danthe1st.CursedCode` from there.