✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution
    • Close
  • Kendall McCall
    Kendall McCall
    5,648 Points

    Uncaught TypeError: Cannot read properties of undefined (reading 'activeToken')

    Posted on Aug 4, 2023 by Kendall McCall
    Kendall McCall
    5,648 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    3 Answers

  • Jasmine VanExel
    Jasmine VanExel
    3,522 Points

    Game not starting; getting eror

    Posted on Jul 1, 2022 by Jasmine VanExel
    Jasmine VanExel
    3,522 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • L S
    L S
    6,540 Points

    Autoformat on Save, Visual Studio Code, Prettier

    Posted on Nov 21, 2021 by L S
    L S
    6,540 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • jun cheng wong
    jun cheng wong
    17,021 Points

    Order of the arguments in the constructor parameter

    Posted on May 26, 2021 by jun cheng wong
    jun cheng wong
    17,021 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Abbie Bowen
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Abbie Bowen
    Full Stack JavaScript Techdegree Graduate 16,210 Points

    Game board only rendering the top left corner?

    Posted on Apr 13, 2021 by Abbie Bowen
    .a{fill-rule:evenodd;}techdegree seal-36
    Abbie Bowen
    Full Stack JavaScript Techdegree Graduate 16,210 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    6 Answers

  • Stephen Garcia
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Stephen Garcia
    Python Development Techdegree Student 11,647 Points

    Missing Token

    Posted on Feb 13, 2021 by Stephen Garcia
    .a{fill-rule:evenodd;}techdegree
    Stephen Garcia
    Python Development Techdegree Student 11,647 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Pablo Calvo
    Pablo Calvo
    13,044 Points

    drawSVGSpace() requesting X and Y's lenght

    Posted on Jan 8, 2021 by Pablo Calvo
    Pablo Calvo
    13,044 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    0 Answers

  • mrcruz117
    mrcruz117
    3,500 Points

    How do I run the program on the browser?

    Posted on Dec 22, 2020 by mrcruz117
    mrcruz117
    3,500 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Kenz Dempsey
    Kenz Dempsey
    7,165 Points

    Game not starting/displaying when i click start

    Posted on Dec 18, 2020 by Kenz Dempsey
    Kenz Dempsey
    7,165 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    0 Answers

  • James Fleming
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    James Fleming
    Full Stack JavaScript Techdegree Graduate 15,848 Points

    Receiving an error that I can't seem to solve. Board.js:35 Uncaught TypeError: space.drawSVGSpace is not a function.

    Posted on Dec 7, 2020 by James Fleming
    .a{fill-rule:evenodd;}techdegree seal-36
    James Fleming
    Full Stack JavaScript Techdegree Graduate 15,848 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Thu Yein
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree seal-36
    Thu Yein
    Full Stack JavaScript Techdegree Graduate 30,261 Points

    Token is not being displayed, but everything else is fine. Any possible solution to this problem?

    Posted on Nov 24, 2020 by Thu Yein
    .a{fill-rule:evenodd;}techdegree seal-36
    Thu Yein
    Full Stack JavaScript Techdegree Graduate 30,261 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    2 Answers

  • Jonathan Ambriz
    PLUS
    Jonathan Ambriz
    Courses Plus Student 3,902 Points

    Not able to view game. Clicking button does not run startGame(); Chrome console error provided.

    Posted on Sep 15, 2020 by Jonathan Ambriz
    Jonathan Ambriz
    Courses Plus Student 3,902 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Sean Gabriel Villoria
    Sean Gabriel Villoria
    8,515 Points

    Why doesn't my arrow function work in my addEventListener?

    Posted on Aug 17, 2020 by Sean Gabriel Villoria
    Sean Gabriel Villoria
    8,515 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Emma Davids
    Emma Davids
    7,753 Points

    Uncaught TypeError: Cannot read property 'drawHTMLToken' of undefined

    Posted on Jul 22, 2020 by Emma Davids
    Emma Davids
    7,753 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Richard Preske
    PLUS
    Richard Preske
    Courses Plus Student 4,356 Points

    Cannot read property of drawHTMLToken of undefined error

    Posted on May 14, 2020 by Richard Preske
    Richard Preske
    Courses Plus Student 4,356 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    2 Answers

  • Matt Roberts
    Matt Roberts
    5,173 Points

    start button doesn't work. Current error is 'TypeError: this.activePlayers is undefined' -> what's the next steps...

    Posted on Apr 29, 2020 by Matt Roberts
    Matt Roberts
    5,173 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    2 Answers

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    Game.js:34 Uncaught TypeError: Cannot read property 'drawHTMLToken' of undefined

    Posted on Apr 8, 2020 by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Kevin Sweet
    Kevin Sweet
    8,081 Points

    Start button display

    Posted on Nov 13, 2019 by Kevin Sweet
    Kevin Sweet
    8,081 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Lauren Waller
    Lauren Waller
    10,085 Points

    Start Button not working at all

    Posted on Sep 11, 2019 by Lauren Waller
    Lauren Waller
    10,085 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Will Albertsen
    Will Albertsen
    13,155 Points

    How exactly is that first token positioned on the screen?

    Posted on Jul 30, 2019 by Will Albertsen
    Will Albertsen
    13,155 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Joseph Anson
    Joseph Anson
    14,448 Points

    Four in a row Object-Oriented JS challenge [Spaces and token are not showing & no errors in console]

    Posted on Jun 18, 2019 by Joseph Anson
    Joseph Anson
    14,448 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    2 Answers

  • Erica Saunders
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Erica Saunders
    Full Stack JavaScript Techdegree Graduate 16,234 Points

    Missing Token

    Posted on Apr 5, 2019 by Erica Saunders
    .a{fill-rule:evenodd;}techdegree seal-36
    Erica Saunders
    Full Stack JavaScript Techdegree Graduate 16,234 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    3 Answers

  • Michael Kilcorse
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree seal-36
    Michael Kilcorse
    Full Stack JavaScript Techdegree Graduate 17,643 Points

    Uncaught TypeError: Cannot read property "drawHTMLBoard" of undefined

    Posted on Mar 2, 2019 by Michael Kilcorse
    .a{fill-rule:evenodd;}techdegree seal-36
    Michael Kilcorse
    Full Stack JavaScript Techdegree Graduate 17,643 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • raul montes
    raul montes
    134 Points

    Issue with the drawHTMLToken()

    Posted on Dec 16, 2018 by raul montes
    raul montes
    134 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Marcell Ciszek
    Marcell Ciszek
    7,255 Points

    can someone help me with my codes please ?

    Posted on Oct 3, 2018 by Marcell Ciszek
    Marcell Ciszek
    7,255 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,254 Points

    [SOLVED] Help! "TypeError: this.activePlayer.activeToken.drawHTMLToken is not a function"

    Posted on Sep 19, 2018 by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,254 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

  • Remi Vledder
    Remi Vledder
    14,144 Points

    Error "Player.js:33 Uncaught ReferenceError: tokens is not defined". (even in provided source code)

    Posted on Sep 8, 2018 by Remi Vledder
    Remi Vledder
    14,144 Points
    • JavaScript
    • Object-Oriented JavaScript: Challenge
    • Rendering the Game
    • startGame() Method Solution

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.