Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with OnlineDegree.com Computer Science Lesson 15: Event Driven
#1
I'm stuck on Lesson 15 where you're supposed to modify an old game to give it a GUI. I have part of it working, but the instructor changes a bunch of sections of the code without showing how it all connects together after the changes. I've watched the video over and over and made all the changes, I just can't figure out how to call the different fuctions. Did anybody whose taken this get that game working with a GUI? I'm stumped.
TESU BSBA CIS - March 2019
Clep: College Algebra, Analyzing and Interpreting Literature, History of U.S. I, History of U.S. II, Principles of Management, Introductory Sociology, College Composition, American Government, Financial Accounting, Principles of Macroeconomics, Principles of Microeconomics, Principles of Marketing, Information Systems, Introductory Business Law, Introductory Psychology, Western Civilization I, Spanish Language, Biology, Social Science and History, Precalculus, Calculus
Study.com: FIN-102 Personal Finance, FIN-101 Principles of Finance, ACC-102 Managerial Accounting, BUS-308 Globalization and International Management, CS-302 Systems Analysis and Design, CS-303 Database Management, COM-120 Presentation Skills in the Workplace, BUS-113 Business Communication, STAT-101 Principles of Statistics
OnlineDegree.com: Computer Science CS101
Saylor.org: CS402, BUS303, CS302
Certs: CompTIA A+, Net+, Sec+, Linux+, MCSA, LPIC-1, CCNA
TESU: BUS-421 Business Administration Capstone
Reply
#2
(12-11-2018, 08:34 AM)camjenks Wrote: I'm stuck on Lesson 15 where you're supposed to modify an old game to give it a GUI. I have part of it working, but the instructor changes a bunch of sections of the code without showing how it all connects together after the changes. I've watched the video over and over and made all the changes, I just can't figure out how to call the different fuctions. Did anybody whose taken this get that game working with a GUI? I'm stumped.

I haven't taken the class, but it sounds like the assignment is wanting you to call a function when an object's event is triggered. All objects (ex: buttons, drop down menus, etc) have events (ex: on-click, mouse-rollover, etc) that are associated with them. The list of possible events are unique to each object, so you'll need to Google to see what events are available for the objects you're working with. In the code module for the object, you'll place your function call inside of the object's event code. Here's a link that walks you through the process. It has an example in Javascript that shows how to do it. You should be able to get the idea and then translate it to whatever language you're working in. If you get stuck, you can PM me.
[-] The following 1 user Likes Sapientes's post:
  • camjenks
Reply
#3
(12-11-2018, 08:34 AM)camjenks Wrote: I'm stuck on Lesson 15 where you're supposed to modify an old game to give it a GUI. I have part of it working, but the instructor changes a bunch of sections of the code without showing how it all connects together after the changes. I've watched the video over and over and made all the changes, I just can't figure out how to call the different fuctions. Did anybody whose taken this get that game working with a GUI? I'm stumped.


I can try to look at your code too, if you need another eye.

[-] The following 1 user Likes Mab81's post:
  • camjenks
Reply
#4
(12-11-2018, 06:32 PM)Mab81 Wrote:
(12-11-2018, 08:34 AM)camjenks Wrote: I'm stuck on Lesson 15 where you're supposed to modify an old game to give it a GUI. I have part of it working, but the instructor changes a bunch of sections of the code without showing how it all connects together after the changes. I've watched the video over and over and made all the changes, I just can't figure out how to call the different fuctions. Did anybody whose taken this get that game working with a GUI? I'm stumped.


I can try to look at your code too, if you need another eye.

Thanks, I got some of it figured out. I decided to move on with the course. I think there's some concepts that just haven't been covered yet. I think I'm going to finish the course, and then go through it again and review my code to see if I can figure it out once I have a little bit of a bigger picture. I'll definitely let you know if I end up being stumped, though. Thank you!
TESU BSBA CIS - March 2019
Clep: College Algebra, Analyzing and Interpreting Literature, History of U.S. I, History of U.S. II, Principles of Management, Introductory Sociology, College Composition, American Government, Financial Accounting, Principles of Macroeconomics, Principles of Microeconomics, Principles of Marketing, Information Systems, Introductory Business Law, Introductory Psychology, Western Civilization I, Spanish Language, Biology, Social Science and History, Precalculus, Calculus
Study.com: FIN-102 Personal Finance, FIN-101 Principles of Finance, ACC-102 Managerial Accounting, BUS-308 Globalization and International Management, CS-302 Systems Analysis and Design, CS-303 Database Management, COM-120 Presentation Skills in the Workplace, BUS-113 Business Communication, STAT-101 Principles of Statistics
OnlineDegree.com: Computer Science CS101
Saylor.org: CS402, BUS303, CS302
Certs: CompTIA A+, Net+, Sec+, Linux+, MCSA, LPIC-1, CCNA
TESU: BUS-421 Business Administration Capstone
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Onlinedegree.com DEAD as of 1/29/25 BigDaddy1 14 2,280 05-01-2025, 02:02 PM
Last Post: wow
Exclamation Study.com Lesson Quizzes & Chapter Quizzes SarSar79 13 1,442 04-21-2025, 04:24 PM
Last Post: Jonathan Whatley
  OnlineDegree No Longer Proctored! (For now) Captainrekt000 27 5,817 12-30-2024, 09:19 PM
Last Post: MEarlBITW
  I plan to apply for a master's degree in Computer Science in the US Thermor1993 3 775 11-27-2024, 03:24 PM
Last Post: Tomas
  SDC CS306 Computer architecture experience hsufeng 9 2,183 08-07-2024, 02:48 AM
Last Post: legenwait4itdary
  TESU BA Computer Science - SDC credits newdegree 4 1,039 07-15-2024, 12:12 PM
Last Post: bjcheung77
  Searching for Fire Science Credits CGaboury 8 1,785 06-01-2024, 02:58 PM
Last Post: Avidreader
  SDC: Computer Science 105: Introduction to Operating Systems legenwait4itdary 12 2,129 05-29-2024, 12:16 AM
Last Post: legenwait4itdary
Question Speedrunning SDC Data Structures and Computer Architecture advice? Randyb100 15 2,629 04-09-2024, 06:36 PM
Last Post: bjcheung77
  Degrees available with Saylor Academy and OnlineDegree cvalor 21 6,958 07-03-2023, 02:24 AM
Last Post: rachel83az

Forum Jump:


Users browsing this thread: 1 Guest(s)