Nexclap

2D Platformer Game on Unity based on Harry Potter


This is the full github folder (As evidenced it is a collaborative effort) https://github.com/synicalsyntax/DieForMe

Happy City Tycoon

I made this game sophomore summer of high school using pygame; it was a generic city builder tycoon which turns into a cultist-spawning, 4th-wall breaking nightmare. Interesting concept, poor execution. It was my first time actually coding a project and working with a GUI framework. It's an absolute mess (I was a coding newbie and probably still am), and I somehow figured out how to cx_freeze it into an exe. I got it to work at least, and it's nice to look back on as my first real project.


#There is a chance that the code is 99.99% not functional. #I'm not sure how I got it to run years ago #Here is the github link: #https://github.com/lukeren314/happy-city-tycoon.git

calculator in python

import math print("Welcome to the Calculator App. Here are the operations: ") print("Addition: add or +") print("Subtraction: sub or -") print("Multiplication: mult or *") print("Division: div or /") print("Exponent: exp or ^") print("Square root: sqrt") print("") operation = input("What operation would you like to perform?") if operation == "add" or operation == "+": num1 = float(input("Enter the first number: ")) num2 = float(input("Enter the second number: ")) sum = num1 + num2 print(str(sum)) elif operation == "sub" or operation == "-": num1 = float(input("Enter the first number: ")) num2 = float(input("Enter the second number: ")) dif = num1 - num2 print(str(dif)) elif operation == "mult" or operation == "*": num1 = float(input("Enter the first number: ")) num2 = float(input("Enter the second number: ")) product = num1 * num2 print(str(product)) elif operation == "div" or operation == "/": num1 = float(input("Enter the first number: ")) num2 = float(input("Enter the second number: ")) quotient = num1 / num2 print(str(quotient)) elif operation == "exp" or operation == "^": num1 = float(input("Enter the first number (the base): ")) num2 = float(input("Enter the second number (the power): ")) exp = pow(num1, num2) print(str(exp)) elif operation == "sqrt": num1 = float(input("Enter the first number: ")) sqrt = math.sqrt(num1) print(str(sqrt)) else: print("invalid") print("Rerun this program")
Announcements
  • Test Announcement from Nexclap

    Test message from nexclap - please ignore

    2023-02-13

  • Test message

    Test message from nexclap - please ignore

    2023-02-11

  • Test message

    Test message from nexclap - please ignore

    2023-02-11

  • View all