<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>tictactoe, branch HEAD</title>
<subtitle>Tic Tac Toe on the terminal using ANSI Escape Codes
</subtitle>
<entry>
<id>6335eb9577a442b87a723d4d13b459c58bec2582</id>
<published>2024-08-23T15:28:29Z</published>
<updated>2024-08-23T15:28:29Z</updated>
<title type="text">set cursor shape to block at exit</title>
<link rel="alternate" type="text/html" href="commit/6335eb9577a442b87a723d4d13b459c58bec2582.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 6335eb9577a442b87a723d4d13b459c58bec2582
parent d9baf8652b8793f9924e69e311948ffa3fd3104b
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Fri, 23 Aug 2024 12:28:29 -0300

set cursor shape to block at exit

it&#39;s not possible to restore the previous cursor shape because there
is no way to query the cursor shape at the start, so it defaults
to block shape

</content>
</entry>
<entry>
<id>d9baf8652b8793f9924e69e311948ffa3fd3104b</id>
<published>2024-04-28T00:59:41Z</published>
<updated>2024-04-28T00:59:41Z</updated>
<title type="text">update `game_check_status` function</title>
<link rel="alternate" type="text/html" href="commit/d9baf8652b8793f9924e69e311948ffa3fd3104b.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit d9baf8652b8793f9924e69e311948ffa3fd3104b
parent 67b24b81821ab7a2f1b913a8fc6fcd6004ce3043
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:59:41 -0300

update `game_check_status` function

</content>
</entry>
<entry>
<id>67b24b81821ab7a2f1b913a8fc6fcd6004ce3043</id>
<published>2024-04-28T00:58:32Z</published>
<updated>2024-04-28T00:58:32Z</updated>
<title type="text">move vars from `main` to `game_initialize_board`</title>
<link rel="alternate" type="text/html" href="commit/67b24b81821ab7a2f1b913a8fc6fcd6004ce3043.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit 67b24b81821ab7a2f1b913a8fc6fcd6004ce3043
parent b578096355a4231fc973aff6ee0d17f870841bd5
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:58:32 -0300

move vars from `main` to `game_initialize_board`

</content>
</entry>
<entry>
<id>b578096355a4231fc973aff6ee0d17f870841bd5</id>
<published>2024-04-28T00:43:26Z</published>
<updated>2024-04-28T00:43:26Z</updated>
<title type="text">remove `break` on `switch` case</title>
<link rel="alternate" type="text/html" href="commit/b578096355a4231fc973aff6ee0d17f870841bd5.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit b578096355a4231fc973aff6ee0d17f870841bd5
parent 77c7c30cf95c38f360abba313b0fc50a1332e989
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:43:26 -0300

remove `break` on `switch` case

also changed `if` case with the ternary operator in one assignment

</content>
</entry>
<entry>
<id>77c7c30cf95c38f360abba313b0fc50a1332e989</id>
<published>2024-04-28T00:39:35Z</published>
<updated>2024-04-28T00:39:35Z</updated>
<title type="text">remove `player_won` variable</title>
<link rel="alternate" type="text/html" href="commit/77c7c30cf95c38f360abba313b0fc50a1332e989.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit 77c7c30cf95c38f360abba313b0fc50a1332e989
parent 03cc736119b9635199351baa506e4f01fe60fe3c
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:39:35 -0300

remove `player_won` variable

since now we count `player_t` from `1` we don&#39;t need to store the value
of the player who won the match in a variable, we can do bitwise
operator on the current player to flip the player (we need to flip the
player bacause when we do the check for `WIN` status the user is already
the next to move)

</content>
</entry>
<entry>
<id>03cc736119b9635199351baa506e4f01fe60fe3c</id>
<published>2024-04-28T00:37:15Z</published>
<updated>2024-04-28T00:37:15Z</updated>
<title type="text">change `player_status` string assign style</title>
<link rel="alternate" type="text/html" href="commit/03cc736119b9635199351baa506e4f01fe60fe3c.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit 03cc736119b9635199351baa506e4f01fe60fe3c
parent 8648e0c90a6add174b79531959ace261e92ac487
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:37:15 -0300

change `player_status` string assign style

</content>
</entry>
<entry>
<id>8648e0c90a6add174b79531959ace261e92ac487</id>
<published>2024-04-28T00:36:21Z</published>
<updated>2024-04-28T00:36:21Z</updated>
<title type="text">start counting `player_t` enumeration from `1`</title>
<link rel="alternate" type="text/html" href="commit/8648e0c90a6add174b79531959ace261e92ac487.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit 8648e0c90a6add174b79531959ace261e92ac487
parent a671818d11beae917bb666ed58a7b1c4736c71b6
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:36:21 -0300

start counting `player_t` enumeration from `1`

</content>
</entry>
<entry>
<id>a671818d11beae917bb666ed58a7b1c4736c71b6</id>
<published>2024-04-28T00:32:51Z</published>
<updated>2024-04-28T00:32:51Z</updated>
<title type="text">remove extra whitespace</title>
<link rel="alternate" type="text/html" href="commit/a671818d11beae917bb666ed58a7b1c4736c71b6.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit a671818d11beae917bb666ed58a7b1c4736c71b6
parent 20d3171d023896d4e3469fb9f55a9035f781e08a
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:32:51 -0300

remove extra whitespace

change code comments

</content>
</entry>
<entry>
<id>20d3171d023896d4e3469fb9f55a9035f781e08a</id>
<published>2024-04-28T00:30:58Z</published>
<updated>2024-04-28T00:30:58Z</updated>
<title type="text">make `tui_total_height` a constant</title>
<link rel="alternate" type="text/html" href="commit/20d3171d023896d4e3469fb9f55a9035f781e08a.html" />
<author>
<name>mjkloeckner</name>
<email>martin.cachari@gmail.com</email>
</author>
<content type="text">commit 20d3171d023896d4e3469fb9f55a9035f781e08a
parent 2c24f96cf7c3553f3e3e79f17d3712f75909b5b0
Author: mjkloeckner &lt;martin.cachari@gmail.com&gt;
Date:   Sat, 27 Apr 2024 21:30:58 -0300

make `tui_total_height` a constant

</content>
</entry>
<entry>
<id>2c24f96cf7c3553f3e3e79f17d3712f75909b5b0</id>
<published>2024-04-09T02:31:46Z</published>
<updated>2024-04-09T02:31:46Z</updated>
<title type="text">Add missing `void` in arguments of function declaration</title>
<link rel="alternate" type="text/html" href="commit/2c24f96cf7c3553f3e3e79f17d3712f75909b5b0.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 2c24f96cf7c3553f3e3e79f17d3712f75909b5b0
parent 5e7efc95a04736a4660405c4885e70e66025ec72
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  8 Apr 2024 23:31:46 -0300

Add missing `void` in arguments of function declaration

</content>
</entry>
<entry>
<id>5e7efc95a04736a4660405c4885e70e66025ec72</id>
<published>2024-04-02T20:50:01Z</published>
<updated>2024-04-02T20:50:01Z</updated>
<title type="text">Fix game not entering `WIN` status</title>
<link rel="alternate" type="text/html" href="commit/5e7efc95a04736a4660405c4885e70e66025ec72.html" />
<author>
<name>Martin Klöckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 5e7efc95a04736a4660405c4885e70e66025ec72
parent 540f980328e54584c6876520c1d8dd0f4b064053
Author: Martin Klöckner &lt;mjkloeckner@gmail.com&gt;
Date:   Tue,  2 Apr 2024 17:50:01 -0300

Fix game not entering `WIN` status

</content>
</entry>
<entry>
<id>540f980328e54584c6876520c1d8dd0f4b064053</id>
<published>2024-04-01T20:04:43Z</published>
<updated>2024-04-01T20:04:43Z</updated>
<title type="text">Use a `switch` case to handle game status</title>
<link rel="alternate" type="text/html" href="commit/540f980328e54584c6876520c1d8dd0f4b064053.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 540f980328e54584c6876520c1d8dd0f4b064053
parent ebc5259d87e306e666a666b67bfb94418451c6aa
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 17:04:43 -0300

Use a `switch` case to handle game status

</content>
</entry>
<entry>
<id>ebc5259d87e306e666a666b67bfb94418451c6aa</id>
<published>2024-04-01T20:03:38Z</published>
<updated>2024-04-01T20:03:38Z</updated>
<title type="text">Delete `goto` statement</title>
<link rel="alternate" type="text/html" href="commit/ebc5259d87e306e666a666b67bfb94418451c6aa.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit ebc5259d87e306e666a666b67bfb94418451c6aa
parent f5146a6d7b18bfbadb586bb05ab652ac8d4b18a7
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 17:03:38 -0300

Delete `goto` statement

</content>
</entry>
<entry>
<id>f5146a6d7b18bfbadb586bb05ab652ac8d4b18a7</id>
<published>2024-04-01T04:00:19Z</published>
<updated>2024-04-01T04:00:19Z</updated>
<title type="text">Include `cstdlib` because of `EXIT_FAILURE` macro</title>
<link rel="alternate" type="text/html" href="commit/f5146a6d7b18bfbadb586bb05ab652ac8d4b18a7.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit f5146a6d7b18bfbadb586bb05ab652ac8d4b18a7
parent c000e02c9bec680870738140537f6fc4b23fe60f
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 01:00:19 -0300

Include `cstdlib` because of `EXIT_FAILURE` macro

</content>
</entry>
<entry>
<id>c000e02c9bec680870738140537f6fc4b23fe60f</id>
<published>2024-04-01T03:59:56Z</published>
<updated>2024-04-01T03:59:56Z</updated>
<title type="text">Remove unnecessary comma at end of enumerator list</title>
<link rel="alternate" type="text/html" href="commit/c000e02c9bec680870738140537f6fc4b23fe60f.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit c000e02c9bec680870738140537f6fc4b23fe60f
parent 487634a328fd59bd1fce2ed34c0bbbebdec002b1
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 00:59:56 -0300

Remove unnecessary comma at end of enumerator list

</content>
</entry>
<entry>
<id>487634a328fd59bd1fce2ed34c0bbbebdec002b1</id>
<published>2024-04-01T03:59:45Z</published>
<updated>2024-04-01T03:59:45Z</updated>
<title type="text">Remove unused variable</title>
<link rel="alternate" type="text/html" href="commit/487634a328fd59bd1fce2ed34c0bbbebdec002b1.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 487634a328fd59bd1fce2ed34c0bbbebdec002b1
parent 1e5c90a0c7a1f8bf73a1b5d8e488b237282aa89f
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 00:59:45 -0300

Remove unused variable

</content>
</entry>
<entry>
<id>1e5c90a0c7a1f8bf73a1b5d8e488b237282aa89f</id>
<published>2024-04-01T03:39:20Z</published>
<updated>2024-04-01T03:39:20Z</updated>
<title type="text">Add gif Screencast of the game</title>
<link rel="alternate" type="text/html" href="commit/1e5c90a0c7a1f8bf73a1b5d8e488b237282aa89f.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 1e5c90a0c7a1f8bf73a1b5d8e488b237282aa89f
parent c44fe38946247ce3bc3306021ec36a6e2095cc7e
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 00:39:20 -0300

Add gif Screencast of the game

</content>
</entry>
<entry>
<id>c44fe38946247ce3bc3306021ec36a6e2095cc7e</id>
<published>2024-04-01T03:25:20Z</published>
<updated>2024-04-01T03:25:20Z</updated>
<title type="text">Update README.md</title>
<link rel="alternate" type="text/html" href="commit/c44fe38946247ce3bc3306021ec36a6e2095cc7e.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit c44fe38946247ce3bc3306021ec36a6e2095cc7e
parent b52ba33107f908c9a4d754285792080d0d65ef96
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 00:25:20 -0300

Update README.md

</content>
</entry>
<entry>
<id>b52ba33107f908c9a4d754285792080d0d65ef96</id>
<published>2024-04-01T03:22:03Z</published>
<updated>2024-04-01T03:22:03Z</updated>
<title type="text">Add MIT LICENSE</title>
<link rel="alternate" type="text/html" href="commit/b52ba33107f908c9a4d754285792080d0d65ef96.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit b52ba33107f908c9a4d754285792080d0d65ef96
parent 0013e37ed1085529fbb63406518b58e040a6421a
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 00:22:03 -0300

Add MIT LICENSE

</content>
</entry>
<entry>
<id>0013e37ed1085529fbb63406518b58e040a6421a</id>
<published>2024-04-01T03:21:34Z</published>
<updated>2024-04-01T03:21:34Z</updated>
<title type="text">Add README.md</title>
<link rel="alternate" type="text/html" href="commit/0013e37ed1085529fbb63406518b58e040a6421a.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 0013e37ed1085529fbb63406518b58e040a6421a
parent 643ee76c1a12a678b9f2549383470225575d9ddc
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 00:21:34 -0300

Add README.md

</content>
</entry>
<entry>
<id>643ee76c1a12a678b9f2549383470225575d9ddc</id>
<published>2024-04-01T03:10:05Z</published>
<updated>2024-04-01T03:10:05Z</updated>
<title type="text">First commit</title>
<link rel="alternate" type="text/html" href="commit/643ee76c1a12a678b9f2549383470225575d9ddc.html" />
<author>
<name>Martin Kloeckner</name>
<email>mjkloeckner@gmail.com</email>
</author>
<content type="text">commit 643ee76c1a12a678b9f2549383470225575d9ddc
Author: Martin Kloeckner &lt;mjkloeckner@gmail.com&gt;
Date:   Mon,  1 Apr 2024 00:10:05 -0300

First commit

</content>
</entry>
</feed>
