CodingCactus

codingcactus

Hi👋

Info

As you have hopefully worked out by now, I am CodingCactus and I program things! Ruby is my main language, however I started with python, and can program decently in JS and CSS, although some people would definitely argue over my CSS ability (really it's the lack of design ideas rather than not having the ability to do it). Mainly I make webapps and discord bots as you can see from my projects. Most of my projects are done on Replit as it is super simple free hosting and I don't need to do whatever you are supposed to do to get vscode to work. This is me on Replit: https://repl.it/@CodingCactus and I am a Repl Talk content creator and moderator, basically meaning that I delete all the spammers and occasionally post decent things on Repl Talk.

Other

Of course, cacti are quite a large interest of mine, but that is not all! I also find maths, physics, and electronics (pretty much anything with numbers) super interesting and fun, although that's pretty much it.

Classrooms

Overview

Repl.it shut down their classrooms product leaving my school with no efficient way of teaching students how to code. I decide to take it upon myself to create a replacement for us. It uses replauth and embeds repls for students to work in. It is of course no rival to the old classrooms, but it does have working useful features - such as creating classrooms, inviting students/teachers, making assignments, submitting assignments, and giving feedback on assignments.

Links

Cactus Carer Alexa Skill

Overview

Cactus Carer is a skill for Amazon Alexa which I made made for the Replit Summer Hackathon. I ended up coming second and winning $2000! To use Cactus Carer, you need to get it from the Amazon Store and then all you need to do is tell it what cacti you have and it will tell you when to water and feed them. Cactus Carer is built using Ruby with Sinatra and MongoDB Atlas. If you go to /lib in the source you can check out some beautiful Ruby OOP.

Links

ReplTalk Gem

Overview

Following my transfer from python to ruby, I wanted to be able to do everything that I could do with python - with ruby. Most of my projects involve some form of communication with repl.it qraphql api. However, (understandably) there is no repltalk gql api wrapper for ruby! So I set myself a challenge and learning experience to make a ruby gem. It taught me about ruby classes and requests etc., but also lot about general graphql structure which makes it a lot easier to work out what's going on. It has (I think) all the basic user queries and mutations and I even managed to throw up a little logo for it!

Links

Slidey

Overview

Created as a submission for a jam with theme of "puzzle", Slidey is recreation of those old games where you have to slide the tiles in a grid to create a picture, or order the numbers 1-15. It has 3 modes - 3x3, 4x4, and 5x5 - and 4 images to choose from, but you can also upload any of your own images. The images on the tiles are actually displayed using css only, which ended up being quite a challenge. I don't think I've ever before had to use calc() so much! Overall, it turned out really well, the layout and extras like animations and sounds are really polished, and the fancy moving background I also really like and very much enjoyed making.

Links

Cactus Bot

Overview

Inspired by Coder100's Chocolate Bot - and other similar discord bots - I decided to make my own, cactus themed, discord currency bot! It's my first of many discord bots, but still my favourite. It's in its third version now, starting of just using files, and then repldb, and now easypydb. Each version with speed and feature improvements. You can grow and buy things from the shop to increase by how much you grow each time.

Links

TODO List

Overview

This project came simply from a repl talk weekly challenge. All you had to do: make some form of TODO list application. It features the ability to create, mark as complete, and delete items in your TODO list. It also has deadline functionality, where you can enter by when you must have a certain item done by.

Links

Password Vault

Overview

Again, a project from a repl talk weekly challenge. This time a password vault. You can enter passwords and what site/app they are for and it will save them for you so if you forget them, you can just take a look in your vault. But what if you changed you password for a site? No worries! You can easily edit and delete passwords after making them.

Links

How To Python

Overview

this project is a website covering all the basics of how to program in python. Basically I was bored one lunchtime with a computer science test a week or so away, and I thought I would make something to help my fellow classmates in the upcoming exam. It covers everything form printing, to looping and string/list manipulation. It also has a dark theme option!

Links

Cactus Clicker

Overview

On everyone's journey of learning web development, they make a clicker game. Cactus clicker is mine! Simply click the cactus to gain cacti. When you have enough cacti, you can buy upgrades to either increase your cacti per click, or your cacti per second. It uses local storage to save your stats, so you won't lose everything once you leave the page.

Links

Typing Speed Test

Overview

Test your typing speed with this console typing test. Uses getkey module to detect your key press and then checks if it is the correct letter. Uses ansi codes to colour and underline the letter that you are on. Calculates your speed and accuracy. If you repeat the test it keeps track of your previous scores so that your average speed and accuracy can be calculated for you.

Links

2048

Overview

Play the classic 2048 game in your console! Again uses getkey module to detect key presses, controls are simply your usual wasd keys. Blocks are displayed using ascii characters and what you need to to is put blocks of the same number together, this combines them into one block of double value. The goal is to get a 2048 block. A tip is to move the blocks in only three directions to try and keep the larger blocks close to each other.

Links

Tic Tac Toe

Overview

One of my first projects! If you're ever bored and just want to play some tic tac toe against a friend or bot, this is for you! As I said, this is one of my first projects, so if you just want to laugh at some bad code, this is also for you. There are 3 difficulty levels of difficulty against the bot: easy - just plays in a random spot and defends 3 in a row, hard - only one possible way to win involving luck, impossible - every single possibility hard coded.

Links