rich 0be005a877 added user interaction
mouse click to blow walker away from mouse
space to reset walker to middle of the window
esc to close application
2025-01-31 14:28:14 -05:00
2025-01-10 19:59:08 -05:00
2025-01-31 14:28:14 -05:00

ReWalker

ReWalker is a simple random walker program that uses ReWindow to handle windowing and mouse operations.

This is a simple random walker that has a little twist that if the user clicks the mouse over the window it "blows" the walker away from the mouse pointer -- NOT IMPLEMENTED YET

test.cpp builds to TestWindowApp as a test to help me understand how ReWindow works.

main.cpp builds to ReWalkerApp which is the main random walker program.

Run ReWalker

Install dependencies

Fedora/RHEL:  dnf install cmake make gcc-g++ libX11 libX11-devel mesa-libGL-devel
Ubuntu/Debian:  apt-get install cmake make gcc g++ libx11-6 libx11-dev libgl-dev libxrandr-dev

Clone the repository

  git clone https://git.redacted.cc/rich/ReWalker.git

Build

  cd ReWalker && mkdir build && cd build && cmake .. && make

Run it

  ./TestWindowApp  
  ./ReWalkerApp

Thanks

Thanks to Bill, Josh and Maxine for sorting the correct ReWindow Integration, and other things.

Description
A test random walker program written in C++ which uses the ReWindow Library
Readme 59 KiB
Languages
C++ 73.6%
CMake 26.4%