This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
--!native | |
--[[ | |
MIT License | |
Copyright (c) 2024 Billy Snikkers | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- The AbsolutePosition of any object is not the same as it's actual pixel | |
-- coordinates on the screen. AbsolutePosition is relative to the pixel | |
-- coordinate (0,36), so the top left pixel actually has AbsolutePosition | |
-- (0,-36) | |
-- To place a GuiObject somewhere, you need to set its Position property. | |
-- The resulting AbsolutePosition depends on whether IgnoreGuiInset is | |
-- checked on the screen gui that the GuiObject lives in. | |
-- A Position value has both a scale value and offset value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <time.h> | |
#include <stdbool.h> | |
#include <ctype.h> | |
#include <assert.h> | |
#define MAX_CUP_FILL 4 | |
#define MAX_INGREDIENT_SIZE 64 |