Author Topic: [video guide] Roglik - coffeebreak roguelike for C language tutorial purposes  (Read 4461 times)


  • Rogueliker
  • ***
  • Posts: 400
  • Karma: +0/-0
    • View Profile
    • My multiplayer roguelike game
Hello! I've made C language roguelike-tutorial at my YT channel:

Initially I've made just a template of roguelike game, but at the end I've decided to make it more playable and added a bit more features on top.. so now it's a tiny game :) I called it 'Roglik' as it's very simple.

Source code (+ binary for Windows):

Roglik is the game in public domain, no credits, copyrights etc. Enjoy! :D

Now.. There are detailed video lessons - how such game could be written with a full explanation:

0) - most basic tutorial.. how to make basic rlg template with Conio.h . Might be useful for beginners who don't know how to begin.. :)

1) - we move to NCurses and implement basic movement

2) - we make room and walls

3) - random generation of character and room

4) - generate NPC and random rooms

5) - switching to PDCurses and make proper room generation

6) - create corridors in dungeon

7) - C language structures for monsters

8) - staircases and event messages

9) - monsters diversity (adding moar monster's types)

10) - simple AI of monsters. Movement and attack

Playlist with all these vids:

In case if you need basics of C language (as roguelike tutorial assumes that you know some minimum), there is also a full C language playlist where I explain stuff from scratch:

Cheers! — streams in English // — streams in Russian
My chars @