This repository contains raylib examples ported to the Nim programming language. It also includes unique examples built with naylib from the start.
File: astar.nim
This example demonstrates the IDA (Iterative Deepening A) path finding algorithm. It's an efficient way to find the shortest path between two points in a graph or grid.
File: bst.nim
An implementation and visualization of a binary search tree data structure. This example helps in understanding tree traversal and basic operations on a BST.
File: crown.nim
A creative example that draws a crown using raylib's drawing functions, paying homage to the Nim programming language.
File: nqueens.nim
This classic chess puzzle challenges you to place eight queens on a chessboard so that no two queens threaten each other. The example provides a solver and visualization.
File: perceptron.nim
An implementation of a simple perceptron, demonstrating basic concepts of neural networks and machine learning using raylib for visualization.
File: rogue.nim
This example is a solution to the "Beverage Bandits" problem from Advent of Code 2018, Day 15. It implements a rogue-like game simulation.
File: shaderart.nim
An introduction to Shader Art Coding, based on the YouTube tutorial by @kishimisu. This example demonstrates how to create interesting visual effects using shaders.
File: target9.nim
A puzzle game where the objective is to change all digits on a 3x3 grid to 9 by incrementing the values in selected rows and columns.
We welcome contributions to this repository! If you have created an interesting example using raylib/naylib and Nim, feel free to submit it. Please ensure your code is well-commented and follows the existing style guidelines.
This project is licensed under the MIT License.
Happy coding with raylib and Nim!