@@ -9,7 +9,7 @@ But if you're already curious about Rust, hopefully this repository will speed u
99
1010May the connect-4s be with you.
1111
12- ## Outcomes
12+ ### Outcomes
1313
1414These are some of the things you will be able to do by the end of this series:
1515
@@ -18,13 +18,13 @@ These are some of the things you will be able to do by the end of this series:
1818- expose the minimal set of APIs from your Rust code to structure your application
1919- play connect 4 in a browser
2020
21- ## Prerequisites
21+ ### Prerequisites
2222
2323- [ Node.js] ( https://nodejs.org/en/download ) (for running the web-server)
2424- [ Rust toolchain] ( https://www.rust-lang.org/tools/install ) (for running the Rust code)
2525- [ wasm-pack] ( https://drager.github.io/wasm-pack/installer/ ) (for compiling to WASM)
2626
27- ## Development
27+ ### Development
2828
2929``` bash
3030# building the engine
3838npm run dev
3939```
4040
41- ## Directory Structure
41+ ### Directory Structure
4242
4343```
4444connectors/
@@ -50,29 +50,29 @@ connectors/
5050└─ www/ // client-side code
5151```
5252
53- ## Chapters [ WIP ]
53+ ### Blog Posts
5454
55- [ Start here] ( https://www.afloat.boats/posts/rust-for-javascript-engineers-pt-1 )
55+ - [ Start here] ( https://www.afloat.boats/posts/rust-for-javascript-engineers-pt-1 )
5656
5757#### Code branches
5858
59- - [ Chapter 1 - Initial Commit ] ( https://github.com/tauseefk/connectors/tree/making-connections )
60- - [ Chapter 2 - Structuring Data ] ( https://github.com/tauseefk/connectors/tree/data-as-enums )
61- - Chapter 3
62- - [ 3. 1 - Calling JS functions from Rust ] ( https://github.com/tauseefk/connectors/tree/calling-home )
63- - [ 3.2 - Using ` js_sys ` crate ] ( https://github.com/tauseefk/connectors/tree/calling-home-again )
64- - Chapter 4
65- - [ 4.1 - Returning data to Javascript] ( https://github.com/tauseefk/connectors/tree/returning-a-grid )
66- - [ 4.2 - Rendering the board as HTML] ( https://github.com/tauseefk/connectors/tree/rendering-html-grid )
67- - Chapter 5
68- - [ 5.1 - Making moves] ( https://github.com/tauseefk/connectors/tree/making-moves )
69- - [ 5.2 - Adding interactivity] ( https://github.com/tauseefk/connectors/tree/interactivity )
70- - Chapter 6
71- - [ Chapter 6 - Computing the winner] ( https://github.com/tauseefk/connectors/tree/winning-move )
72- - Chapter 7
73- - [ Chapter 7 - Build and deploy] ( https://github.com/tauseefk/connectors/tree/deployment )
74-
75- ## Other Resources
59+ - Part 0 - Prologue
60+ - [ Initial Commit ] ( https://github.com/tauseefk/connectors/tree/making-connections )
61+ - [ Structuring Data ] ( https://github.com/tauseefk/connectors/tree/data-as-enums )
62+ - Part 1 - Setting the board
63+ - [ Calling JS functions from Rust ] ( https://github.com/tauseefk/connectors/tree/calling-home )
64+ - [ Using ` js_sys ` crate ] ( https://github.com/tauseefk/connectors/tree/calling-home-again )
65+ - [ Returning data to Javascript] ( https://github.com/tauseefk/connectors/tree/returning-a-grid )
66+ - [ Rendering the board as HTML] ( https://github.com/tauseefk/connectors/tree/rendering-html-grid )
67+ - Part 2 - Playing the game
68+ - [ Making moves] ( https://github.com/tauseefk/connectors/tree/making-moves )
69+ - [ Adding interactivity] ( https://github.com/tauseefk/connectors/tree/interactivity )
70+ - Part 3 - Winning the game
71+ - [ Computing the winner] ( https://github.com/tauseefk/connectors/tree/winning-move )
72+ - Bonus - Dev ops
73+ - [ Build and deploy] ( https://github.com/tauseefk/connectors/tree/deployment )
74+
75+ ### Other Resources
7676
7777[ The Rust Book] ( https://doc.rust-lang.org/book/title-page.html )
7878
0 commit comments