thismoonchild
Badges: 9
Rep:
?
#1
Report Thread starter 5 months ago
#1
my teachers are really **** and i need to complete the programming project
i need help on how to programme the game?
is there anyone else doing this course?
if anyone has guidance for any of these game tasks-

https://www.ocr.org.uk/Images/503195...-june-2020.pdf

id really really appreciate it
0
reply
MikeOnABike
Badges: 10
Rep:
?
#2
Report 5 months ago
#2
(Original post by thismoonchild)
my teachers are really **** and i need to complete the programming project
i need help on how to programme the game?
is there anyone else doing this course?
if anyone has guidance for any of these game tasks-

https://www.ocr.org.uk/Images/503195...-june-2020.pdf

id really really appreciate it
Doing the same course, already did the project.
1. While you need to get a project done, don't forget it isn't being marked or counting to your final grade.
2. While it does specify that it needs to be a game, it doesn't need to have any GUI.

I have two questions:
1. Which one are you doing?
2. What language are you coding in?
0
reply
thismoonchild
Badges: 9
Rep:
?
#3
Report Thread starter 5 months ago
#3
Yes, i am aware of that, thanks.
im coding using C# in Visual Basic
i actually don't know which game to do as i've only got the login page done, do you know which one would be easiest/quickest??
thanks so much
(Original post by MikeOnABike)
Doing the same course, already did the project.
1. While you need to get a project done, don't forget it isn't being marked or counting to your final grade.
2. While it does specify that it needs to be a game, it doesn't need to have any GUI.

I have two questions:
1. Which one are you doing?
2. What language are you coding in?
0
reply
MikeOnABike
Badges: 10
Rep:
?
#4
Report 5 months ago
#4
(Original post by thismoonchild)
Yes, i am aware of that, thanks.
im coding using C# in Visual Basic
i actually don't know which game to do as i've only got the login page done, do you know which one would be easiest/quickest??
thanks so much
We did things as a class and while I didn't necessarily agree with them, they chose Project 2 (the dice game) because they thought it was easiest.
I did mine in Python so I don't know how much help I can provide
0
reply
thismoonchild
Badges: 9
Rep:
?
#5
Report Thread starter 5 months ago
#5
ahh i see. our class is a bit of a mess tbh the only thing we have in common is C# and using VB but other than that we are doing everything individually.
yeah i thought i should probably do the dice game
that's alright, thanks a lot tho
(Original post by MikeOnABike)
We did things as a class and while I didn't necessarily agree with them, they chose Project 2 (the dice game) because they thought it was easiest.
I did mine in Python so I don't know how much help I can provide
0
reply
MikeOnABike
Badges: 10
Rep:
?
#6
Report 5 months ago
#6
(Original post by thismoonchild)
ahh i see. our class is a bit of a mess tbh the only thing we have in common is C# and using VB but other than that we are doing everything individually.
yeah i thought i should probably do the dice game
that's alright, thanks a lot tho
Ok, best of luck, while we were united in our projects, they ranged from the words command prompt games which missed several points to a game which essentially made it the Dice Game: Wii edition, with all the right music. Best of luck. :-)
0
reply
thismoonchild
Badges: 9
Rep:
?
#7
Report Thread starter 5 months ago
#7
haha yeah sounds about right, even those doing the same game in my class too lmao
thank you~ good luck for all your exams
(Original post by MikeOnABike)
Ok, best of luck, while we were united in our projects, they ranged from the words command prompt games which missed several points to a game which essentially made it the Dice Game: Wii edition, with all the right music. Best of luck. :-)
0
reply
Chez 01
Badges: 13
Rep:
?
#8
Report 5 months ago
#8
(Original post by thismoonchild)
Yes, i am aware of that, thanks.
im coding using C# in Visual Basic
i actually don't know which game to do as i've only got the login page done, do you know which one would be easiest/quickest??
thanks so much
i am an a level student and we are coding in c# visual basics, if you need any help with code feel free to private message me!
1
reply
winterscoming
Badges: 19
Rep:
?
#9
Report 5 months ago
#9
(Original post by thismoonchild)
ahh i see. our class is a bit of a mess tbh the only thing we have in common is C# and using VB but other than that we are doing everything individually.
yeah i thought i should probably do the dice game
that's alright, thanks a lot tho
If you need information and guidance on the basics of C# then then try Microsoft's C# courses - you can enrol onto this for free to get all the videos and learning material (no need to pay for the certificate): https://www.edx.org/course/introduction-to-c-sharp-3

Also, I would really strongly recommend spending 15-20 minutes following this tutorial about the debugger, which is the most useful tool you'll ever learn as a programmer:
https://docs.microsoft.com/en-gb/vis...s?view=vs-2017

The Debugger is a way of controlling your program line-by-line while it's running so that you can see exactly what it's doing and what all your variables actually contain - it's very helpful for understanding what your code does, checking your assumptions to find mistakes, and getting to the root cause of problems whenever the program isn't working the way you expected. If you're new to programming in general, then it should save you a lot of time and frustration when things don't work.

More debugger info here too: https://docs.microsoft.com/en-gb/vis...r?view=vs-2017
Last edited by winterscoming; 5 months ago
1
reply
thismoonchild
Badges: 9
Rep:
?
#10
Report Thread starter 5 months ago
#10
thank you so much, i will
(Original post by Chez 01)
i am an a level student and we are coding in c# visual basics, if you need any help with code feel free to private message me!
0
reply
thismoonchild
Badges: 9
Rep:
?
#11
Report Thread starter 5 months ago
#11
AH these links are very helpful , i didnt know they existed
yeah we were studying about debuggers at some point but not for our project
thanks very muchh
(Original post by winterscoming)
If you need information and guidance on the basics of C# then then try Microsoft's C# courses - you can enrol onto this for free to get all the videos and learning material (no need to pay for the certificate): https://www.edx.org/course/introduction-to-c-sharp-3

Also, I would really strongly recommend spending 15-20 minutes following this tutorial about the debugger, which is the most useful tool you'll ever learn as a programmer:
https://docs.microsoft.com/en-gb/vis...s?view=vs-2017

The Debugger is a way of controlling your program line-by-line while it's running so that you can see exactly what it's doing and what all your variables actually contain - it's very helpful for understanding what your code does, checking your assumptions to find mistakes, and getting to the root cause of problems whenever the program isn't working the way you expected. If you're new to programming in general, then it should save you a lot of time and frustration when things don't work.

More debugger info here too: https://docs.microsoft.com/en-gb/vis...r?view=vs-2017
0
reply
Mykaled
Badges: 1
Rep:
?
#12
Report 1 week ago
#12
(Original post by Chez 01)
i am an a level student and we are coding in c# visual basics, if you need any help with code feel free to private message me!
Yea im doing the dice game in C# and i have no clue what to do
0
reply
winterscoming
Badges: 19
Rep:
?
#13
Report 1 week ago
#13
(Original post by Mykaled)
Yea im doing the dice game in C# and i have no clue what to do
Firstly, every big, complicated, difficult problem you'll ever find in programming is something which you can break down into smaller, simpler, easier problems to be solved individually, so the most important thing is to learn how to solve problems with divide-and-conquer.

Start out by with a bit of planning and analysis to understand the problem and look at ways that you can break it down into something smaller and simpler to begin with. Don't start out by aiming to build a complicated program which does everything. The way to start is always to get a really easy program working which only solves a small part of the problem and don't fall into the trap of trying to write loads of code at once, then getting lost in the complexity.

If you take the view of 'what's the simplest thing I can possibly do to make something work?' then you can start ignoring loads of the rules and worry about those later.

For example, what if you start with a program which just has one dice and one round? All of a sudden that's pretty straightforward, and you can start trying to frame the problem in terms that make sense in C# - for example, variables, integers, lists, strings, boolean logic, if/else, for, while, read/write, etc.

Before writing any code at all, make sure you can describe it step-by-step on paper. Try to approach each problem that you're trying to solve by thinking about what the user would input, and what they'd expect to see on the screen. e.g. "when the user types {input}, what are the steps to produce {output}?"

Once you start breaking the problem down you should end up with some nice simple Google'able problems e.g.
  • How to print to the screen in C#
  • How to read input from the user in C#
  • How to simulate a dice roll in C# (You will probably want to look at 'Random' - https://stackoverflow.com/questions/...dom-int-number
  • How to compare numbers in C#
  • How to repeat some instructions in C#

Remember as well that if you can write C# code to do something once, then modifying that program to repeat those same instructions multiple times is a matter of using repetition - e.g. for, foreach, while.

Try to break the problem down into lots of small, separate programs and solve those on their own without trying to overload the same big program with lots of small sub-problems which are separate to each other and can all be split out.

For example, you're being asked to solve problems related to reading and writing files in C# - You should first spend a bit of time thinking about what you actually want to store in your files (a .CSV file might be a good simple solution) then you could write a couple of completely separate programs which just do the CSV file stuff on its own, then bring that into your program later. -- e.g. Read a CSV file into a list. Write a list into a CSV file.
-- it's a really good idea to read/write entire file contents at once then just work with lists in your code; don't fall into the trap of trying to read/write individual lines of a file.
-- Make sure you also think carefully about the data you want to store - you can create a 'class' in C# which you can use to split up each of the different items of data in your files (e.g. each time you find a line/row in your file, then you would use the "new" keyword in C# to read that line/row into a class instance).




There's already some links earlier in this thread to some C# resources; but Google and StackOverflow are your best chance at finding examples and explanations of the C# syntax. Make sure you do learn how to use the Visual Studio debugger because that'll be really useful and important if you find that the code isn't doing what you expect. - https://docs.microsoft.com/en-gb/vis...s?view=vs-2017
Last edited by winterscoming; 1 week ago
0
reply
tam:))
Badges: 1
Rep:
?
#14
Report 1 week ago
#14
anyone know how to start the dice game?
0
reply
winterscoming
Badges: 19
Rep:
?
#15
Report 1 week ago
#15
(Original post by tam:)))
anyone know how to start the dice game?
See the reply directly above your post, and replace "C#" with whatever language you're using
0
reply
15Frostie
Badges: 1
Rep:
?
#16
Report 5 days ago
#16
I'm starting my control assessment this month and we to are doing a dice game. I believe you did it in python, so can may I ask if i could have your code. Please and thank you
0
reply
winterscoming
Badges: 19
Rep:
?
#17
Report 5 days ago
#17
(Original post by 15Frostie)
I'm starting my control assessment this month and we to are doing a dice game. I believe you did it in python, so can may I ask if i could have your code. Please and thank you
If you just take someone else's solution then you'll never improve your own problem solving skills. When you reach the final exam there's going to be a programming paper where you'll need to know how to solve problems in exactly the same way; so doing this project by trying it for yourself and working through each of the tasks that you're set will prepare you for that because it's all just the same thing. Learning to think computationally and using programming concepts to solve problems for this assessment uses the exact same skills that you'll need for writing pseudocode in the exam.

Other than that, for an idea of where to start, see the other reply I sent above and replace 'C# with 'Python' (it's the same in any language). You can use Google and StackOverflow to get examples using Python syntax. Once you've started and tried a few of the tasks for yourself you'll probably realise that it's not as hard as it first looks because it's just one big problem that you can split up into lots of smaller ones.
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

University open days

  • Durham University
    Pre-Application Open Days Undergraduate
    Fri, 20 Sep '19
  • Loughborough University
    Undergraduate Open Day Undergraduate
    Fri, 20 Sep '19
  • University of Oxford
    Undergraduate Open Day Undergraduate
    Fri, 20 Sep '19

What's your favourite genre?

Rock (214)
23.65%
Pop (223)
24.64%
Jazz (33)
3.65%
Classical (54)
5.97%
Hip-Hop (171)
18.9%
Electronic (61)
6.74%
Indie (149)
16.46%

Watched Threads

View All