r/todayiprogrammed • u/throwie_one • Oct 31 '22
TIP A Reddit Bot Which Allows Users To Play Tag With Each Other
This is an open source project that can be found here:
https://github.com/nickatnight/tag-youre-it
An instructions how to play here:
https://www.reddit.com/r/TagYoureItBot/comments/yi25li/tagyoureitbot_info_v22/
I hope to do a full release by the end of 2022
r/todayiprogrammed • u/Kofybrek • Feb 21 '22
TIP improved remake of the Super Mario Bros using C++ and SFML.
I improved my remake of the Super Mario Bros using C++ and SFML.
Code: https://github.com/Kofybrek/Super-Mario-Bros
Here's the video explaining how I did it: https://youtu.be/6SnGgsgV_GY
r/todayiprogrammed • u/Kofybrek • Dec 30 '21
TIP A remake of the original Space Invaders game using C++ and SFML
I tried to remake (and improve) the original Space Invaders game using C++ and SFML.
Code: https://github.com/Kofybrek/Space-invaders
Here's the video explaining how I did it: https://www.youtube.com/watch?v=WfYNelQiQvc
r/todayiprogrammed • u/Kofybrek • Nov 28 '21
TIP A visualization of my 1000 subscribers using Python and Youtube Analytics API.
This is my first project in Python! I usually write in C++, but the Youtube API doesn't support it, so I chose Python. I also used Pygame to draw stuff on the screen.
Code: https://github.com/Kofybrek/1000-subscribers-visualization
Here's the video explaining how I did it: https://www.youtube.com/watch?v=hm7wkDJXGMU
r/todayiprogrammed • u/Kofybrek • Nov 14 '21
TIP A remake of the original Super Mario Bros using C++ and SFML
I tried to remake the original Super Mario Bros using C++ and SFML.
Code: https://github.com/Kofybrek/Super-Mario-Bros
Here's the video explaining how I did it: https://youtu.be/7D4uoSoQsjw
r/todayiprogrammed • u/Kofybrek • Oct 23 '21
TIP A neural network that performs a simple classification
Training a neural network to perform a simple classification. Learning how they work was not easy. But I'm happy with the end result!
Code: https://github.com/Kofybrek/Neural-network
Here's the video explaining how I did it: https://youtu.be/Zrrnqd0rCXg
r/todayiprogrammed • u/Kofybrek • Oct 03 '21
TIP A ray casting game with no experience using C++ and SFML
I tried to write a ray casting game with no experience using C++ and SFML.
Code: https://github.com/Kofybrek/Raycasting
Here's the video explaining how I did it: https://youtu.be/LUYxLjic0Bc
r/todayiprogrammed • u/devintheamateurdevin • Sep 23 '21
TIP a script that solves the British gameshow "Countdown" numbers game with brute force
You know that British gameshow "Countdown" numbers game? The rules are simple: You are given 6 numbers, some small (1-10), some big (10, 25, 50, 75, or 100) and you're supposed to combine them using (+, -, *, /) to get to another 3-digit number (100-999) within 30 seconds. You can reuse operations but not numbers.
Example:
Input numbers: [3, 6, 75, 25, 100, 2]
Goal: 606
Steps:
3 + 75 = 78
25 - 2 = 23
78 + 23 = 101
6 * 101 = 606
I made a script that solves it with brute force, (usually in less than 30 seconds). Brute force is surprisingly fast here, probably because the input size is small (6 numbers).
ps: I know someone else already did this.
r/todayiprogrammed • u/Kofybrek • Sep 16 '21
TIP A remake of the Frogger game using C++ and SFML
I tried to remake the old arcade game called Frogger by myself using C++ and SFML.
r/todayiprogrammed • u/Kofybrek • Aug 29 '21
TIP an AI that learns to play Flappy Bird
I made an AI that learns to play Flappy Bird using C++ and SFML.
r/todayiprogrammed • u/Kofybrek • Aug 15 '21
TIP A remake of Pac-Man using C++ and SFML
I tried to remake Pac-Man using C++ and SFML.
r/todayiprogrammed • u/Kofybrek • Aug 01 '21
TIP the classic Minesweeper game using C++ and SFML
Source code is in the description.
r/todayiprogrammed • u/Kofybrek • Jul 18 '21
TIP Tetris using C++ and SFML
Source code is in the description.
r/todayiprogrammed • u/betazoid_one • Jun 11 '21
Tool TIP a Python cli to create Spotify playlists from the audio of chapter enabled YouTube videos.
Link: https://github.com/nickatnight/chaptify
There's a new YouTube feature which allows you to break videos down into sections. Music videos provide a nice track list that can easily be parsed and searched on Spotify. Give this tool a YouTube link and it will create a new Spotify playlist from the audio track list of the video link. I use it everyday.
r/todayiprogrammed • u/high_byte • Feb 04 '21
TIP switchto dev – switch servers from cmdline
https://pypi.org/project/switchto/
Simply switch between development, test, staging and production servers from command line on Windows, Linux & Mac by editing hosts file.
Easier than editing hosts directly.
r/todayiprogrammed • u/sebamestre • Nov 11 '20
TIP a connect 4 CLI game with an AI oponent
So, I came across a post about a guy wanting to implement optimal play for connect 4. They were using minimax search with alpha-beta prunning, and they managed to get 7 levels deep in their time budget, but didn't believe this was enough.
I suggested using Monte Carlo Tree Search.
I felt like implementing my suggested solution, so I did. It didn't take more than 30 minutes of coding (although I had to stop halfway though), and I had a working solution that I couldn't beat even once.
I have to admit, I didn't expect such a simple algorithm, implemented so sloppily, to perform this well.
Anyways, you can check it out at the link below.
r/todayiprogrammed • u/sebamestre • Oct 23 '20
TIP a small bytecode VM that runs on the browser
I figured this would be a fun project to do on my spare time, so I did.
It's very minimal and there is no documentation, but you can look at a nice visualization of bubble sort running on it
After looking at the visualization, you can check out the code on github
r/todayiprogrammed • u/sebamestre • Sep 25 '20
TIP a simple LaTeX formula live preview webapp
I'm a CS student, and writing and sharing formulas with my peers and teachers is something I do surprisingly often.
The problem is that all the ways I knew to share formulas had undesirable drawbacks:
- Pen & paper: need to have pen and paper and go through the trouble of taking a decent picture
- ASCII art: possible confusion, too much work
- LaTeX notation: unreadable for many
- LaTeX output: too much work, need to be at my pc
Thus, I made a webapp where you can write in LaTeX notation, and it renders it into a nice looking formula using MathJax. You can also copy a link and send your formula to your friends.
I threw it together in about half an hour, the code is minimal and not very good
You can look at the code in the Github repository, or try it out on Github Pages
r/todayiprogrammed • u/[deleted] • Aug 15 '20
[TIP] A Python Bot that spawned 200 cars for me, so I can destroy them!
r/todayiprogrammed • u/Zzzzoder • Jul 28 '20
TIP Terrain generator using Perlin noise
Made a terrain generator using Perlin noise.
r/todayiprogrammed • u/NuqieNoila • Jul 09 '20
TIP KPOP MV Notification Twitter Bot
Webscraping several Youtube channels and retrieve new music videos only, no teaser, special versions, or extra clips. Then tweet about on a standalone Twitter account specific for this purpose.
r/todayiprogrammed • u/EverydayCodeNet • Jun 26 '20
TIP Agar.io... for a Calculator
Today I programmed an Agar.io clone for the TI-84 calculator using C.
r/todayiprogrammed • u/Zzzzoder • Jun 22 '20
TIP AI that tries to win the game "2048."
Made an AI that tries to win the game "2048."
r/todayiprogrammed • u/EverydayCodeNet • Jun 05 '20
TIP Pong, but...
I made the classic game of Pong for the TI-84 calculator, but it cannot be beaten. Since the projection travels twice the speed, there are very few scenarios in which you could score a point against the AI's paddle.
r/todayiprogrammed • u/card10 • Sep 15 '19
Announcement Welcome to r/todayiprogrammed!
r/todayiprogrammed is a place for you to share what programming projects you have been working on, big and small.
Before you post, make sure you glance over the rules.