🤑 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

  • 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
  • Kendall McCall
    Kendall McCall
    5,648 Points

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

    Posted August 4, 2023 3:54pm 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 July 1, 2022 4:29pm 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 November 21, 2021 11:59am 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 May 26, 2021 2:17pm 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 April 13, 2021 4:13am 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 February 13, 2021 6:53pm 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 January 8, 2021 7:10pm 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 December 22, 2020 1:19am 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 December 18, 2020 2:44am 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 December 7, 2020 11:53pm 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 November 24, 2020 8:34pm 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 September 15, 2020 2:47pm 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 August 17, 2020 1:49am 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 July 22, 2020 3:08pm 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 May 14, 2020 1:43am 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 April 29, 2020 1:10pm 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 April 8, 2020 4:13pm 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 November 13, 2019 6:44pm 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 September 11, 2019 6:53pm 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 July 30, 2019 6:32pm 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 June 18, 2019 11:31pm 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 April 5, 2019 3:49pm 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 March 2, 2019 12:38am 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 December 16, 2018 5:54pm 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 October 3, 2018 12:17am 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 September 19, 2018 2:31pm 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 September 8, 2018 12:24pm 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.