Newsround's Helen went to a school in Scotland where kids are trying out a new way of learning by making and playing computer games during their lessons.
Ten-year-old Cameron showed Helen a computer game that actually teaches you history. He said it's a fun way of learning the subject.
Aidan, 9, said: "It's been really cool designing my own computer game, and I think I would like to do more of it in the future."
"My favourite part was making my world and finding out all the information," said ten-year-old Lauren.
And nine-year-old Ross said using the game was much better than writing in a book.