Skip to content

A Snake implementation that works for JS, JVM & Native targets.

License

Notifications You must be signed in to change notification settings

londogard/snake-js-jvm-native

Repository files navigation

Gitpod ready-to-code

snake-js-jvm-native

A Snake implementation that works for JS, JVM & Native targets.

Find the full blog here, with explanations and TODOs for implementing this from the bottom up yourself!

Download Zip here or clone project from github.

Open with IntelliJ Community or VS Code or online via GitPod.

Run JS: ./gradlew jsBrowserDevelopmentRun Run JVM: ./gradlew run Run Native: ./gradlew runDebugExecutableNative

But it's way easier to run through IntelliJ.

Native Installation of ncurses

Requires Linux or MacOS.

First of, grab ncurses!

    // sudo apt install libncurses5-dev
    // sudo apt install libncursesw5-dev
    // sudo apt install gcc-multilib 

// Snake sprite sheet is 64x64 px per item!

About

A Snake implementation that works for JS, JVM & Native targets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published