lav-sdl

SDL верзија програма Лавиринт
git clone https://git.sr.ht/~strahinja/lav-sdl
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

README (1617B)


      1 Lavirint
      2 ========
      3 
      4 SDL maze solver
      5 
      6 
      7 Install
      8 -------
      9 
     10 See the file INSTALL in this repository.
     11 
     12 
     13 Usage
     14 -----
     15 
     16 Brute force mode (the default):
     17 
     18 	lav-sdl labyrinth_file.dat
     19 
     20 Shortest path mode:
     21 
     22 	lav-sdl -s labyrinth_file.dat
     23 
     24 
     25 Format of data file
     26 -------------------
     27 
     28 ASCII:
     29 
     30 <starting_cell.x> <starting_cell.y>
     31 <ending_cell.x> <ending_cell.y>
     32 <Rows of digits 1 and 0, 1 = wall, 0 = empty space; spaces are ignored>
     33 
     34 All coordinates are 1-based. Maximum rows: LABYRINTH_MAXHEIGHT (20), maximum
     35 columns: LABYRINTH_MAXWIDTH (40).
     36 
     37 
     38 License
     39 -------
     40 
     41 lav-sdl - SDL maze solver
     42 Copyright (C) 2023-2026  Strahinya Radich
     43 
     44 This program is free software: you can redistribute it and/or modify
     45 it under the terms of the GNU General Public License as published by
     46 the Free Software Foundation, either version 3 of the License, or
     47 (at your option) any later version.
     48 
     49 This program is distributed in the hope that it will be useful,
     50 but WITHOUT ANY WARRANTY; without even the implied warranty of
     51 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     52 GNU General Public License for more details.
     53 
     54 You should have received a copy of the GNU General Public License
     55 along with this program.  If not, see <https://www.gnu.org/licenses/>.
     56 
     57 ---
     58 
     59 Sprite sheet sprites.png (source file sprites.xcf.xz) hand drawn/crafted in GIMP
     60 by Strahinya Radich.
     61 
     62 Sprite sheet ter12.png (source file ter12.xcf.xz) created in GIMP using Terminus
     63 font 4.49.1. Terminus font Copyright (C) 2020 Dimitar Toshkov Zhekov[1],
     64 licensed under SIL Open Font License 1.1. See file OFL.TXT for more information.
     65 
     66 
     67 [1]: http://terminus-font.sourceforge.net/