# Racing Game

Project Racing Game is a “print-on-demand” solution. The objective is to allow customers to create their own unique large size (1600 x 1030 mm) gameboard through:

Users have the choice to:

## Challenge

We were asked to create a web application that would allow the creation of unique gameboards. The application was to have the following capabilities:

## Solution

We used a mathematical approach during the implementation of this project. These were mathematical solutions associated with vectors and the intersection of figures.

The math solutions we used:

#### Mathematical solutions associated with vectors

• vector multiplication

• сomposition of
vectors

• decrease of vectors

• rotation of vectors

• angle calculation
between vectors

• vector length
calculation

• finding the point of
intersection between
vectors

#### Mathematical solutions associated with the intersection of figures

• extension of blocks in
the case of angled and T-
shaped intersections

• moving blocks
circumferentially to
approach the intersection
(compression / expansion
of the nearest blocks)

• moving a block along a
line to approach an
intersection (when the
intersection was with a
circle)(compression /
expansion of the nearest
blocks)

• widening the intersection
region in the case of
crossing with an acute
angle

#### Calculation of the shape of blocks

• calculation of average
points for rounding circle
blocks

• calculation of average
block points for smoothing
misaligned blocks

• calculation of the initial
and final block line

• combination of small
blocks

• finding the resulting
block at the intersection
of 2 figures

#### Using algorithms and equations

• approximation line -
Bézier curve

• approximation line -
spline

• equation line, circle,

• determining point in
circle

• determining point
on line

• determining point in
defined area

• checking point
relative to the line

• autoconnecting 2
nearest lines

## Key Features

Decorate your race track with images, drawings and text

Modify race track components

design from scratch or buy other users’ designs

Reduce the size of the print
or zoom it to view online