Coder Social home page Coder Social logo

e08b-debugging's Introduction

E08b-Debugging

As usual, Fork and Clone this repository.

Complete

This exercise is an opportunity for you to debug syntax, interpreter, and other runtime errors in a fairly-complex project. Some of the syntax and concepts represented in this code may seem foreign or advanced, but if you work systematically, you should be able to address the problems in this code.

This exercise was adapted from the excellent platformer tutorial developed by GDQuest. Once you have corrected the problems, I hope this will provide a starting place for your project (if you have been struggling to get started).

I have introduced eight errors (of different types) into the scripts in this project. Your assignment is to find and correct those errors. Some of them are syntax or interpreter errors, which will prevent the program from running at all. Others are runtime or behavioral errors which may require a little more work to find.

The project is associated with a tutorial (both a free and paid version). The free version is in two parts and is available here:

The original source code is available on GitHub, but please only use it as a point of comparison after you have exhausted all other options.

When you have found all eight errors (one of them is on multiple lines), commit your changes, and turn in the URL of your repository on Canvas.

Errors: new_value instead of new_score - player data line 25 portal lines 22 and 23 indented where they shouldn't be .text instead of .Text - UI line 37 move_right instead of Move_right - player line 27 don't need - player data line 20 enemy sprite visibility on score instead Score - endscreen line 8 don't need - enemy line 17

e08b-debugging's People

Contributors

bl-msch-c220-s22 avatar kittenatheart avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.