redblobgames / 2126-roguelikedev

2021 Reddit r/roguelikedev summer tutorial series

Home Page:https://www.redblobgames.com/x/2126-roguelike-dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http://unmaintained.tech/badge.svg

Each summer, the r/roguelikedev community has a tutorial series where we all follow along to build a roguelike. I had attempted it in 2018 but got stuck in the middle. I attempted it again in 2020 and made it all the way through. I am going through again in 2021, not to start over, but to revisit what I did in 2021.

For the 2020 version I wrote mine in JavaScript instead of Python. Unlike some of the other JavaScript projects, I didn’t use node.js or a build step like webpack. It’s one html file and one js file included with a <script> tag. This is how I prefer to code small projects, and only switch to more organization once the project gets larger.

For the 2021 version I will use TypeScript and multiple files bundled together using esbuild so that it is still included with a <script> tag.

I wrote notes in 2020 about how my version differs from the Python tutorial, especially around UI, where I used the browser’s HTML+CSS to build a UI instead of using a console menu. I have notes in 2021 as well.

About

2021 Reddit r/roguelikedev summer tutorial series

https://www.redblobgames.com/x/2126-roguelike-dev/

License:Apache License 2.0


Languages

Language:TypeScript 71.0%Language:HTML 28.9%Language:Shell 0.1%