-
23 votes
-
How 5 years of burning ambition brought Retro City Rampage to DOS
6 votes -
Scaling Mercurial at Facebook (2014)
7 votes -
Learna project reverts blacklisting in license
14 votes -
Baker, a simple tool for provisioning virtual machines and containers
4 votes -
Go 2 Draft Designs
14 votes -
Making C less dangerous
16 votes -
castling.club: play Chess via Mastodon (ActivityPub)
10 votes -
React Fire: Modernizing React DOM
7 votes -
Better CLI Commands
21 votes -
DNS Privacy
11 votes -
The Performance Cost Of Spectre, Meltdown, & Foreshadow Mitigations On Linux 4.19 with Intel & AMD processors
14 votes -
Contrast Ratio: Easily calculate color contrast ratios. Passing WCAG was never this easy!
6 votes -
Direct ring 3 to ring 0 privilege escalation on some x86 processors using an embedded RISC core.
19 votes -
RISC-V implemented in a night
14 votes -
Programming Challenge: Make a game in 1 hour!
Background There's been some talk on ~ before, and it seems like there are quite a few people who are either interested in, learning, or working in game development, so I thought this could be a...
Background
There's been some talk on ~ before, and it seems like there are quite a few people who are either interested in, learning, or working in game development, so I thought this could be a fun programming challenge.
This one is fairly open-ended: make a game in 1 hour. Any game, any engine, don't worry about art or sound or anything.
Doing is the best way to learn. Most people's first project is something overly ambitious, and when they find that it's more difficult than they thought, they can get discouraged, or even give up entirely. This is why the 1 hour limit is important: it forces you to finish something, even if it's small. When you're done, you can come out of it saying you made a game, and you learned from it.
Chances are the game might not be fun, look bad, be buggy, etc. But don't worry about that, everyone's game will have problems, and if you do create something really fun or innovative, congratulations, you have a prototype that you can expand on later!
"Rules"
Like I said before, these "rules" are pretty simple: make a game in (approximately) 1 hour. You can use any tools you want. If you use external assets (art, sound), it's probably best you use something you have the rights to (see resources). If you're completely new to game development/programming, your goal could even be to finish a tutorial.
If you're the kind of person who tends to get carried away with these things, you might want to post a comment saying you're starting, then another one once you've finished your game.
Please share your finished game, I'm sure everyone would love to try them! If your game is web-based, it can be hosted for free on Github Pages or Itch.io. If downloadable, it can be hosted for free on Google Drive, Mega, Dropbox, Itch.io, etc.
Resources
Engines
If you're a beginner, a good engine to start with is LÖVE. It's very simple, and uses Lua, which is very easy to learn.
If you're familiar with another language, you could use a library to make it in that language. Some examples:
Javascript: kontra, Phaser, pixi.js
Python: pygame
If you want something more complex, consider Godot, Unity, or Unreal.
You can also try something visual like Construct, Clickteam Fusion, or GDevelop
Art
For such a short time constraint, I'd suggest you use your own "programmer art": just use some basic shapes. Your primary focus should be gameplay.
If you think you have time to find something, try looking on OpenGameArt.
Sound
You can make simple sound effects very quickly with sfxr (or in this case, a web port of sfxr called jsfxr).
27 votes -
Google Cloud grants $9M in credits for the operation of the Kubernetes project
3 votes -
Now that Ubuntu 18.04.1 is out, have you upgraded from 16.04 LTS?
The first point release came out July 26, and enables upgrades from 16.04 LTS. https://blog.ubuntu.com/2018/07/26/first-point-release-of-18-04-lts-available-today Have you upgraded your desktop?...
The first point release came out July 26, and enables upgrades from 16.04 LTS.
https://blog.ubuntu.com/2018/07/26/first-point-release-of-18-04-lts-available-today
Have you upgraded your desktop? Server?
Happy with it? Any pitfalls?
20 votes -
Humble Bundle: Machine Learning by O'Reilly
15 votes -
Discussion: The pros and cons to different approaches to solving a problem.
It's often the case that in academic and self-teaching environments, you don't really have the opportunity to grasp and fully understand situations in which a problem has multiple valid solutions...
It's often the case that in academic and self-teaching environments, you don't really have the opportunity to grasp and fully understand situations in which a problem has multiple valid solutions and what the implications are in choosing among them. Among those considerations are two in particular: runtime efficiency and maintainability. When these subjects are discussed, the example solutions are often comical at best, or the problems themselves too complex to fully grasp the situation at hand. Sometimes the problems are also so simple as to be completely worthless, e.g. comparing bubble sort to bogo sort.
As such, I would like to take this opportunity to discuss practical but conceptually simple problems and the implications of the different solutions that are available. Conceptual simplicity is an absolute requirement because we want these problems to be accessible to a wider variety of readers. Problems don't necessarily need to be code-related (you could e.g. discuss something related to server administration). Bonus points for problems that include solutions with an efficiency/maintainability trade-off!
9 votes -
wideNES - Peeking Past the Edge of NES Games
11 votes -
What computer/programming/etc. project are you working on this weekend?
This is a thread to discuss the projects you have planned for the weekend. Previous threads: 2018-07-27 2018-06-16
38 votes -
A Brief Look At North Korean Cryptography
11 votes -
IRC turns 30
26 votes -
Learning to Program
Hi folks, I figured this would be a good place to ask a rather simple question. Where do I start to learn to code? I'm in high school, so I have (some) time to dedicate to it, and it seems there...
Hi folks,
I figured this would be a good place to ask a rather simple question.
Where do I start to learn to code?
I'm in high school, so I have (some) time to dedicate to it, and it seems there are a plethora of websites/resources out there, so I ask: what do you recommend, and why has it worked for you? I have no prior experience. I believe that this would really help out in the long run, as I will graduate high school with an Associate's Degree in Business. Thank you!
EDIT: Thank you for all your responses! I'll start with Python and move on from there. You guys have been a great help, and I'll vote you up or reply.
26 votes -
How to send keybase chats from inside Vim
2 votes -
Go 1.11 released
8 votes -
The Commons Clause will destroy open source
6 votes -
Programming Mini-Challenge: TicTacToeBot
I've seen the programming challenges on ~comp as well as quite a few users who are interested in getting started with programming. I thought it would be interesting to post some 'mini-challenges'...
I've seen the programming challenges on ~comp as well as quite a few users who are interested in getting started with programming. I thought it would be interesting to post some 'mini-challenges' that all could have a go at. I'm certain that many of you might find these pretty straight forward, but I still think there's merit in sharing different approaches to simple problems, including weird-and-wonderful ones.
This is my first post and I'm a maths-guy who dabbles in programming, so I'm not promising anything mind-blowing. If these gain any sort of traction I'll post some more.
Starting of with...
TicTacToeBot
Info
You will be writing code for a programme that will check to see if a player has won a game of tic-tac-toe.
Input
The input will be 9 characters that denote the situation of each square on the grid.
- 'X' represents the X-player has moved on that square.
- 'O' represents the O-player has moved on that square.
- '#' represents that this square is empty.
Example:
|O| |X| |X|X|O| The input for this grid will be O#XXXOO## |O| | |
Output
The expected output is the character representing the winning player, or "#" if the game is not won.
(e.g. The expected output for the example above is '#' since no player has won)
29 votes -
How I recorded user behaviour on my competitor’s websites
32 votes -
Intel Publishes Microcode Security Patches, No Benchmarking Or Comparison Allowed!
12 votes -
JPL's Open Source Build-it-Yourself Rover
9 votes -
It’s time for the open source community to get real
22 votes -
NAND Gate Game - Build up a CPU from NANDs
11 votes -
Invisible Separator
6 votes -
Personal Wikis
I have been looking for some software where I can brain dump all the things I need to remember on a constant basis so I can easily find it again in the future. A personal wiki basically. I am...
I have been looking for some software where I can brain dump all the things I need to remember on a constant basis so I can easily find it again in the future. A personal wiki basically. I am wondering what any of you tilderians are using?
The things I am looking for:
Absolute requirements:
- Open Source: I want to be in control of the data myself, and I want to be able to hack on it myself as the need arises.
- Self Hostable: Goes hand-in-hand with with open sourceness, I want the data to live on the server in my apartment, under my own control.
- An API of some sort so I can programmatically add/read/modify data.
Nice to haves:
- Revision history of some sort.
- Common/simple data format for easy backup and longevity.
- Web interface, with mobile compatibility.
- Lightweight as possible, so I can run it on a low powered server.
Does anything know anything like that?
Options I have heard of:
25 votes -
How One Guy Hacked BlackHat 2018
16 votes -
The Cost of JavaScript in 2018
30 votes -
Docker for Mac and Windows requires Docker Store login
24 votes -
Where Vim Came From
20 votes -
Thoughts on agile and scrum
When I started working with development teams 3 years ago, I started learning all about agile and scrum. I'm currently a product manager working with two dev teams that loosely follow scrum. Since...
When I started working with development teams 3 years ago, I started learning all about agile and scrum. I'm currently a product manager working with two dev teams that loosely follow scrum. Since we don't have an official scrum master, I somewhat fill that role too. I've done my best to learn as much as I can about it and so far I'm a big fan. However I feel like most of the things I hear about it are from the scrum and agile community, which means I don't hear too many negatives. What's your experience with these been and if you were in the right position, how would you try to structure people to produce software?
8 votes -
Bumper-Sticker Computer Science
11 votes -
What operating system do you use?
I'd imagine that this website probably has an above average linux user percentage, considering that one of the main principles of tildes is to respect your privacy. Personally I use fedora. I...
I'd imagine that this website probably has an above average linux user percentage, considering that one of the main principles of tildes is to respect your privacy.
Personally I use fedora. I started with windows, than moved to ubuntu when windows 10 came out. I tried a few others and settled on fedora because I wanted an operating system with a quicker package update cycle than debian, but I wanted it to "just work".
42 votes -
How Unity’s new ECS expands your optimization space
4 votes -
FOSS Alternatives
I got into FOSS recently and have been researching replacements for common proprietary software. Along with reddit (r/privacytoolsio) I have used alternativeto.net & privacytools.io. I would love...
I got into FOSS recently and have been researching replacements for common proprietary software. Along with reddit (r/privacytoolsio) I have used alternativeto.net & privacytools.io. I would love to make a list on Tildes for anyone that is also interested in this stuff.
Telegram -> Signal: signal.org
Discord -> Riot: riot.im (surprised this isn't as popular)
Google -> FindX: findx.com (there are many others but this is my favorite)
.................searX: searx.me
Reddit -> Tildes: tildes.net (obviously)
Chrome -> Firefox: mozilla.org (there are many others but this is my favorite)
LastPass -> Bitwarden: bitwarden.com (my personal favorite but there are others)
Photoshop -> GIMP: gimp.org
FireAlpaca -> Krita: krita.org
Microsoft Office -> LibreOffice: libreoffice.org
Windows Media Player -> VLC: videolan.org (Best FOSS ever)
uTorrent -> qBittorrent: qbittorrent.org
...................Deluge: deluge-torrent.org
Adobe Illustrator -> Inkscape: inkscape.org
Adobe Premiere Pro -> Blender: blender.org (mainly 3d stuff but can be used as animation)
Windows -> Linux: ubuntu.com (ubuntu is just one distro, there are so many)
Adobe Audition -> Audacity: audacityteam.org
..............................Ardour: ardour.org
Github -> Gitlab: gitlab.com
Trello -> Taiga: taiga.io
Fraps -> OBS: obsproject.com
Gmail -> ProtonMail: protonmail.com
Youtube Client -> NewPipe: newpipe.schabi.org
Outlook -> Thunderbird: thunderbird.net
Adblock+ -> uBlock Origin: (you can get it in your browser's addon store)
Unity -> Godot Engine: godotengine.org
USD -> Bitcoin: bitcoin.org (I would suggest an altcoin like Stellar though)
... anything else? any programs you don't know a FOSS alternative to that I can find?66 votes -
OpenSSH Username Enumeration Vulnerabilty
11 votes -
Any Rustaceans in the House?
I'm just starting to get into the ecosystem by going through the Book of Rust, and then maybe playing with Parity. Just wondering if anyone else has been through this yet and is up for some...
I'm just starting to get into the ecosystem by going through the Book of Rust, and then maybe playing with Parity. Just wondering if anyone else has been through this yet and is up for some conversation!
11 votes -
Amiga Graphics Archive
7 votes -
Observatory by Mozilla
28 votes -
24-core CPU and I can’t type an email (part one)
13 votes