Sean McManus - Raspberry Pi For Dummies

Здесь есть возможность читать онлайн «Sean McManus - Raspberry Pi For Dummies» — ознакомительный отрывок электронной книги совершенно бесплатно, а после прочтения отрывка купить полную версию. В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Жанр: unrecognised, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Raspberry Pi For Dummies: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Raspberry Pi For Dummies»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

A recipe for having fun and getting things done with the Raspberry Pi  The Raspberry Pi makes it easy to learn about computers and computer programming, and Raspberry Pi For Dummies makes it even easier! Using this extremely affordable and compact computer, you can learn to code in languages like Scratch and Python, explore how electronics work, create computer-generated buildings in Minecraft and music in Sonic Pic, become Linux-savvy, make Internet-of-Things devices, or just play around! This book gets you up and running on your Raspberry Pi, starting with setting it up, downloading the operating system, and using the desktop environment. Then, the only limit is your imagination! It doesn’t matter whether you have a Raspberry Pi 4, Raspberry Pi 400, Raspberry Pi Zero W or an older model: we’ve got you covered. 
Raspberry Pi For Dummies explores the latest technology—the Raspberry Pi 4 and 400, Scratch 3 programming language, new games bundled with the Raspberry Pi, and the hottest Add-Ons out there. This introductory guide is the perfect place to start if you want to get a taste of everything the Raspberry Pi can do! 
Set up your Raspberry Pi, install the operating system, and connect to the Internet Learn the basics of the Linux desktop and Linux shell so you can program, work, and play Use Python, Scratch, and Sonic Pi to write your first programs and make games and digital music Discover how circuits work hand-in-hand with your Pi If you want to make the most of the Raspberry Pi for school, work, or play, you’ll love this easy-to-read reference.

Raspberry Pi For Dummies — читать онлайн ознакомительный отрывок

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Raspberry Pi For Dummies», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

The underlying Common Unix Printing System software is open source and depends on the contributions of volunteers, so not every printer is supported. If you have a reasonably old network-connected printer, it should work fine. Newer models and USB-connected models are less likely to be well supported.

Customizing the Desktop

You can do quite a few things to stamp your identity on the desktop and make it easier to use. As with other desktop computers you might have used, you can change the look and feel of it. To find the options for this, click Appearance Settings in the Preferences section of the Applications menu.

In the desktop options, you can change the picture used as a backdrop (the wallpaper ), change the desktop color if you’re not using wallpaper, and change the color of icon descriptions (the text color). You can tick a box to display your Documentsfolder and mounted disks on the desktop, which makes it easier to find your files. The Taskbar tab gives you options for changing the size, position, and color of the menu bar that is usually at the top of the screen. The System tab enables you to change the default font used throughout the desktop environment and the colors used in the title bars of windows.

Raspberry Pi For Dummies - изображение 77You can also get to the appearance settings by right-clicking the desktop and choosing Desktop Preferences from the menu that appears.

To adjust the sensitivity of the keyboard and mouse, use the mouse and keyboard settings in the Preferences section of the Applications menu. For left-handers, you can swap the left and right mouse buttons, too.

Playing the Games

A number of games are included in Raspberry Pi OS. You’ll find them all in the Games section of the Applications menu. Here’s a quick roundup:

Boing!: This is a version of Pong, a bit like digital tennis. Two players bounce a ball, left and right, between them. If one player misses, the other player scores a point. If you play alone, your bat is on the left. You can choose one or two players on the start screen using the arrow keys. Press the Spacebar to start the game or get back to the menu when it ends. Player 1 (left) uses the A and Z or Up and Down keys to move. Player 2 (right) uses the K and M keys. The computer can be your Player 2. The first player to score 10 points wins.

Bunner: This a clone of Frogger, where your challenge is to move safely up the screen, dodging traffic and crossing rivers by leaping onto logs. Press the Spacebar to start the game and get back to the title screen at the end, and press the arrow keys to move.

Cavern (see Figure 4-10): This game is inspired by Bubble Bobble, another classic from the ’80s. Move your monkey character with the arrow keys, avoiding the robots. Use the Spacebar to fire a bubble to entrap the robots, as you zip around collecting fruit. When you fall off the bottom of the screen, you come back at the top.

Minecraft Pi: See Chapter 13for information on playing and programming this game.

Myriapod: Use the arrow keys to move and the Spacebar to fire in this Centipede clone. Your gun is at the bottom of the screen. Your aim is to shoot and destroy the centipede that crawls down the screen and to avoid getting hit by the fly, which you can also zap. Destroy rocks to make it easier to shoot the centipede. We use a screen resolution of 1,024 x 768 usually, but we had to change it to 1,152 x 864 to see the whole game arena.

Substitute Soccer: This football game has three difficulty levels. Move using the arrow keys and Spacebar to pass or shoot. If you have a friend over, they can play using the W, A, S, and D keys to move and the left Shift key to pass/shoot. A triangle above a player shows which one is active.

These games were coded by Raspberry Pi cofounder Eben Upton, and come from the book Code the Classics, Volume 1. Find it in the Bookshelf app.

There is also an entry called Python Games, which gives you access to 12 further games, written by Al Sweigart. Click a game to select it. The games are as follows:

Flippy: A version of Reversi. Click to place your counter. Any counters in a line between your new counter and any of your other counters will switch to your color. The winner is the one with the most counters in their color.

Four in a Row: Click and drag the pieces to drop them into the frame. The winner is the first to get four pieces in a row, in any direction. The computer AI is pretty smart!Raspberry Pi Foundation FIGURE 4-10:Cavern, one of the games in Raspberry Pi OS.

Gemgem: In this game, there’s a grid of gems. You can swap any two neighboring gems to make a row of three, which then disappear. Use the mouse to click the two gems you want to swap. It’s against the clock. Achieving a row of three extends your time.

Inkspill: This is a favorite of Sean’s. You have a grid of colored squares. Starting at the top left, you change the color of the ink. Any squares of the same color that are touching the square join your ink spill, making it bigger. The idea is to keep changing colors to try to fill the screen with a single color.

Memory Puzzle: This is a version of Pairs or Concentration, a classic card game. You click a card to turn it over, and then click another card to see if they match. Your aim is to pair up all the cards.

Pentomino: This version of Tetris uses the arrow keys to move the blocks and the Q key to rotate them. The aim is to stop the blocks from piling up to the top of the screen. When you complete a row, it disappears. This game has some different tile designs from the original game.

Simulate: This game is a pattern repeating one. Click the panels to repeat the sequence that’s played to you.

Slide Puzzle: This sliding puzzle game uses the arrow keys or mouse to move tiles. Can you unscramble the puzzle?

Squirrel: Your aim is to eat the smaller squirrels, while avoiding the bigger ones. Each time you eat, you grow. Move using the arrow keys.

Starpusher: This puzzle game starts easy but gets harder. The game challenges you to move stars onto the target spaces on the floor. You’ll need to think clearly to avoid getting any stuck in corners. Arrow keys move your character, and you’ll probably need to use the Backspace key to restart the level sometimes.

Tetromino: This game is like Tetris with the original tile designs. Arrow keys move the pieces and the Q key rotates them.

Wormy: This version of the classic mobile phone game Snake uses the arrow keys to move the snake. The aim is to eat the red blocks, without bumping into your own tail or the edge of the screen. Each time you eat, you grow, so the game gets harder and harder.

Finding and Installing New Applications

You can discover new software to install using the command line (see Chapter 5), but there’s also a friendly tool you can use in the desktop environment. On the Applications menu, hover over the Preferences option and click Add/Remove Software to get started. You need to have an active Internet connection.

Figure 4-11 shows you the tool. In the top left is a search box, where you can enter the name of an application you’re looking for, or a phrase such as puzzle games to explore what’s available. On the left are categories you can click to see your options.

Raspberry Pi Foundation FIGURE 411The AddRemove Software menu The main pane - фото 78

Raspberry Pi Foundation

FIGURE 4-11:The Add/Remove Software menu.

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Raspberry Pi For Dummies»

Представляем Вашему вниманию похожие книги на «Raspberry Pi For Dummies» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Raspberry Pi For Dummies»

Обсуждение, отзывы о книге «Raspberry Pi For Dummies» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x