Skip to content

dkandalov/graalvm-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a minimal snake game with ncurses UI written in Kotlin using GraalVM for interop with C. It re-implements Kotlin/Native snake to be able to compare Kotlin/Native and GraalVM C interop.

How to use?

  • download and unpack GraalVM
  • starting from graal version vm-19.0.0 native-image has to be installed manually ./gu install native-image
  • in the makefile update:
    • graal-native-image to specify path to native-image in GraalVM directory
    • kotlin-jars-classpath to specify path to Kotlin jars
    • ncurses-lib to specify path to ncurses binary
  • use make to compile project and generate binary via GraalVM
  • run snake from the project folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages