<commit_before>#include "ui.h"

// Allow for windows stupidry
#ifdef WINDOWS
	#define ENDLN "\r\n"
#else
	#define ENDLN "\n"
#endif


void clear()
{
	// YES I KNOW THIS IS BAD OKAY WHAT OTHER CHOICE DO I HAVE!?
	// DON'T JUDGE ME! T_T
	#ifdef WINDOWS
	system("cls");
	#else
	system("clear");
	#endif
}

void ui::draw(Map playerShipMap, Map playerShotMap, std::string status)
{
	// Clear the screen
	clear();
	// Symbols for rendering the grid<commit_msg>Extended plea for forgiveness for my sins<commit_after>#include "ui.h"

// Allow for windows stupidry
#ifdef WINDOWS
	#define ENDLN "\r\n"
#else
	#define ENDLN "\n"
#endif


void clear()
{
	// YES I KNOW THIS IS BAD OKAY WHAT OTHER CHOICE DO I HAVE!?
	// DON'T JUDGE ME! IT'S 2015 AND THERE _STILL_ IS NO WAY TO
	// DO A CROSS-PLATFORM CLEARING OF THE SCREEN FFS! T_T
	#ifdef WINDOWS
	system("cls");
	#else
	system("clear");
	#endif
}

void ui::draw(Map playerShipMap, Map playerShotMap, std::string status)
{
	// Clear the screen
	clear();
	// Symbols for rendering the grid
{'fraction_non_alphanumeric': 0.12536443148688048, 'fraction_numerical': 0.003887269193391642, 'mean_word_length': 3.7465437788018434, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5670276', 'n_tokens_mistral': 413, 'n_tokens_neox': 382, 'n_words': 136}