C

@corrupt

Quadratics.java

Java
2 years ago
/* Name: penis This program solve a quadratic expression (Use case ex: a = 1, b = 3, c = -4) */ import java.util.*; import static java.lang.System.*; public class Quadratic {

Date

Lua
2 years ago
local CUR_TIME = os.time() print(os.date("!%c", CUR_TIME))

test

Lua
2 years ago
print("NUMBER GAME! (Lua Edition)\n") local title = io.write("INPUT A NUMBER, ANY NUMBER. TRY TO GUESS WHAT THE RANDOM NUMBER GENERATOR CHOSE AS IT'S LUCKY NUMBER!\n") local input = io.read("*number") or print("NOT A NUMBER! (MUST BE INT)") local drive_letter = "C:" local dir_separator = "\\" local dirINDEX = {

Number game, yes yes

Python
2 years ago
import random # import os os_dirINDEX = { "C:\Program Files", "C:\Program Files (x86)", "C:\pagefile.sys", "C:\System Volume Information", "C:\Windows\WinSxS", "C:\Program Files\RUXIM",

Shop2023.java

Java
2 years ago
// Name penis // import java.util.*; import static java.lang.System.*; public class Shop2023 {

Bar

Lua
2 years ago
local read = io.read("*number") or math.random(1, 74) -- if no input then it'll give a random number local LOOP = true local Index = { n_Bar = "—", l_Bar = "-", d_Bar = ".", ap_Bar = "'", la_Bar = "<", ra_Bar = ">",

Bar

Lua
2 years ago
local INPUT = io.read("*numbers") or tonumber(io.read()) -- Makes sure the desired input is a number, otherwise it's nil. local function CreateBar(ITEM, NUMBER) -- String, Number local self = {} self.Length = NUMBER if NUMBER > 40959 then print("ERROR: BYTE LIMIT (40960) EXCEEDED! PLEASE USE A NUMBER LOWER THAN THE BYTE LIMIT!") else

Methods.java

Java
2 years ago
//Name: penis import javax.swing.*; import java.util.*; import static java.lang.System.*; public class Methods { public static void main(String[] args) { Scanner reader = new Scanner(System.in);

test

Java
2 years ago
//Name: import java.util.*; import static java.lang.System.*; public class Methods { public static void main(String[] args) { Scanner reader = new Scanner(System.in);

TEST

C++
2 years ago
#include <iostream> #include <fstream> #include <cmath> #include <windows.h> const int res_X = 120; const int res_Y = 48; const int fov = 60; const int mouse_speed = 100;

MovieBill.java

Java
2 years ago
//Name: Dylan Trevino // // This program determines the total COST of movie tickets, snacks, and taxes. // A child's ticket cost is 60% of an adult ticket cost. Every one gets the same type of snack. // Taxes must be collected on the cost of the snacks ONLY. import java.util.*; public class MovieBill {

TestThing

Lua
2 years ago
local function GetPercentage(Value, Accuracy, DecimalPoint) if Accuracy then return string.format("%." .. DecimalPoint .. "f", Value * 100) else return math.floor((Value * 100) + 0.5) end end local TEST_1 = math.random(1000, 9999) local TEST_2 = math.random(1000, 9999)

FUNCS.lua

Lua
2 years ago
-- 154x53 (WINDOW SIZE) local FUNCS = {} function GetPercentage(Value, Accuracy, DecimalPlacement) if Accuracy then return string.format("%." .. DecimalPlacement .. "f", Value * 100) else return math.floor((Value * 100) + 0.5) end

GetPercentage() (+ accuracy bool)

Lua
2 years ago
local function GetPercentage(Value, Accuracy) if Accuracy then return Value * 100 -- Accurate percentages (float) else return math.floor((Value * 100) + 0.5) -- Rounded to the nearest whole end -- int bool return Value, Accuracy end

PowerTest

Lua
2 years ago
local PowerLibrary = { East_Door = { PowerLevel = 0.1, isActive = false, }, West_Door = { PowerLevel = 0.1, isActive = false, },

Percentage

Lua
2 years ago
local function GetRand(MAX) return math.random(1, MAX) end local function GetVolts(Amps, Ohms) return Amps * Ohms -- Amps times Resitance = Volts/Voltage end local function GetWattsHour(Amps, Volts) return Amps * Volts -- Amps times Volts = Watts-hour

Test

Lua
3 years ago
local ReplicatedStorage

Rasertizition

Lua
3 years ago
-- Developed by 89five local MUSIC = script:WaitForChild("BgMusic") spawn(function() wait(3) MUSIC.Looped = true MUSIC:Play() end) local ReplicatedStorage = game:GetService("ReplicatedStorage") local Modules = ReplicatedStorage:WaitForChild("Modules")

Rasterizer

Lua
3 years ago
-- Rasterizer (folder->StarterPlayerScripts) -- Thread (actor->Rasterizer_folder) -- Scale = 1 -- Rasterizer (LocalScript->Rasterizer_folder) code: local plr = game:GetService("Players").LocalPlayer local thread = script.Parent.Thread local p, q = 4,4 --divides the screen into threadX * threadY pieces to be updated independently using actors.

Framework

Lua
3 years ago
-- modernized 14/09/2020 -- Coolio module stuff local handler = {} local fpsMT = { __index = handler } local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local Debris = game:GetService("Debris")