Skip to content

Instantly share code, notes, and snippets.

View pledge.cpp
#include "pledge.h"
#include "config.h"
#include "math.h"
#include "taskmanager.h"
Pledge checkPledge(int direction, bool space_left, bool space_top, bool space_right)
{
state_t state;
// Preferred direction
if (direction == 0) {