repository to manage all files for 1_2_oder_3 interaction game for Inf2/2 Interaktionen SoSe23 from Engert, Caliskan and Bachiri
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Body.js 1006B

12345678910111213141516171819
  1. import React from "react";
  2. import Buttons from "./Buttons";
  3. import Answers from "./Answers";
  4. import ScoreBoard from "./ScoreBoard";
  5. function Body({startQuestion, timerRunning, stopTimer, setQuestionCount, setTeamSize, teamsize, ans1, ans2, ans3, scoreblue,
  6. scoregreen, scorered, setScoreBlue, setScoreGreen, setScoreRed,
  7. setAns1, setAns2, setAns3, setQuestion}) {
  8. return(
  9. <div className="Body">
  10. <Buttons startQuestion={startQuestion} timerRunning={timerRunning} stopTimer={stopTimer} setQuestionCount={setQuestionCount} setTeamSize={setTeamSize}
  11. setScoreGreen={setScoreGreen} setScoreRed={setScoreRed} setScoreBlue={setScoreBlue}
  12. setAns1={setAns1} setAns2={setAns2} setAns3={setAns3} setQuestion={setQuestion}/>
  13. <Answers ans3={ans3} ans2={ans2} ans1={ans1}/>
  14. <ScoreBoard teamsize={teamsize} scoreblue={scoreblue} scorered={scorered} scoregreen={scoregreen}/>
  15. </div>
  16. )
  17. }
  18. export default Body