Questions tagged [beginner]
Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.
7,589 questions
0
votes
3
answers
22
views
Dice Game (Python)
I wrote this dice game as beginner practice. This is working code, but I would like to improve it by adding more functions. Though, since I am still a beginner, I don't know how, so help would be ...
7
votes
4
answers
222
views
Renaming video files from a wordlist across multiple directories
About
This project attempts to rename a collection of .mp4 files using a wordlist from two different folders. The script reads filenames from a text file, gathers ...
6
votes
5
answers
1k
views
JavaScript program that calculates the sum and difference of a pair of numbers
The goal of the following openprocessing.org JavaScript program is to calculate the sum and difference of a pair of numbers and print the 2 results if they are both positive. I want to do the ...
6
votes
2
answers
464
views
Number-guessing game on command line
I am just starting coding, and this is my attempt at the famous number-guessing game. Any and all feedback and criticism is greatly appreciated.
...
4
votes
4
answers
1k
views
4
votes
1
answer
225
views
CSV TimeSheet Calculator
This program takes in a CSV timesheet for my current job, groups the hours worked by employee then outputs it to a txt file. I used a simple GUI with tkinter and ...
4
votes
3
answers
244
views
Field Sorting , ANSI-C/K&R 2ED, Exercise 5-17 brainstorming
This program is an expansion of the sorting utility built in previous chapters of K&R's 2nd edition of ANSI-C Programming. It parses command-line arguments to determine which fields to sort by and ...
2
votes
1
answer
140
views
A Tic-Tac-Toe prototype written in SFML and C++
I'm a beginner in C++, and I tried to implement some basic skeleton for a game of Tic-Tac-Toe using SFML 3.0.0.
The thing is, it contains some main logic:
Place figures (...
8
votes
4
answers
1k
views
Python implementation of core fundamentals to calculate math arithmetic
This program takes a user input to choose which calculation method they'd like to use, then uses a separate module and the math library to perform said calculation.
I'd like some feedback as to how ...
6
votes
3
answers
685
views
Interactive simple calculator as a first project. As of now it handles arithmetic, linear and quadratic calculations
This is my very first personal project. I'd like to know what I can improve in this code, with reference to optimization and efficiency.
Here's the code:
...
6
votes
1
answer
311
views
Splitting a long introduction into collapsible elements easier to read and translate
Before I started, we had a few long introductory texts that were shown to users in different part of the editor window, depending on what type of object they are editing. The texts describe how to add ...
6
votes
2
answers
191
views
Parsing HTTP headers from &HashMap<String, String> into http::HeaderMap
For context, I'm very new to Rust, and I'm trying to learn the best practices and nuances of it as I go.
I've written this small function that takes a ...
3
votes
1
answer
108
views
OpenProcessing.org JavaScript program - Building a list of matrices
My openprocessing.org JavaScript code listed below produces the output I want but doesn’t seem very elegant to me especially the “.M” in “matrices[mat].M[row][col]”. Any comments to improve the ...
8
votes
1
answer
548
views
An electronic implementation of the Change Change game
I am fairly new to programming using the site openprocessing.org.
My program, available to play online here, is a simple puzzle game in which you slide the circles so that you end up with 4 circles in ...
5
votes
4
answers
956
views
A program to solve quadratic equations ax² + bx + c = 0 with imaginary results
This is my second post and my second “tough” question I came across while reading PPP3.
I graduated a while ago and honestly forgot the equation... The question didn’t explicitly say I needed to find ...