Word-Connect
Word Connect extension help to and create word puzzle Styles game and also use as Screen Lock for app inventor
š§© WordConnect
An extension for MIT App Inventor 2.This component is developed by th using Fast.
Word Connection is a fun and engaging word puzzle game
where players link related words to form meaningful connections.
Challenge your vocabulary, improve your thinking skills,
and enjoy different game modes!
Word Connection is an addictive and educational word puzzle game that tests your vocabulary and logical thinking.
Players are given a set of words and must find meaningful connections between them.
Word Connection provides a fun way to expand your language skills and boost your brainpower.
Telegram | GitHub
Blogger | YouTube
Terms & Conditions
 Specifications
 Package: io.th.wordconnect.wordconnect
 Size: 56.01 KB
 Version: 1.0
 Minimum API Level: 7
 Updated On: 2025-03-04T18:30:00Z
 Help URL: Learn more
 License: Terms & Conditions
 Built & documented using: FAST-CLI v2.4.2
Paid Price - 4š² USD.
INR UPI - 350rs.
Buy On PayPal
Find more Extension here
Free version
Check out here
Library used
This extension uses the
connectpattern by alphamu. Thank you alphamu!
Demo blocks
YouTube
Output
Events:
WordConnect has total 11 events.
 PatternEntered
Pattern was entered by the user. Example: '12345'
| Parameter | Type | 
|---|---|
| pattern | text | 
 PatternAbandoned
Pattern input was abandoned
 AnimateInStarted
Animation to show pattern view has started
 AnimateInCompleted
Animation to show pattern view has completed
 AnimateOutStarted
Animation to hide pattern view has started
 AnimateOutCompleted
Animation to hide pattern view has completed
 PatternSizeChanged
Pattern size changed. Example: PatternSizeChanged(5) is triggered when the pattern size changes to 5.
| Parameter | Type | 
|---|---|
| newSize | number | 
 Error
Error occurred during pattern operation
| Parameter | Type | 
|---|---|
| errorMessage | text | 
 PatternSaved
Pattern was successfully saved. This event is triggered after a pattern has been successfully saved. Example: If a user sets a new pattern, this event will be triggered to indicate that the pattern has been saved successfully.
| Parameter | Type | 
|---|---|
| key | text | 
 PatternVerified
Pattern verification result. This event is triggered after attempting to verify a pattern. It returns a boolean indicating whether the pattern was successfully verified or not. Example: If the pattern entered by the user matches the saved pattern, this event will be triggered with 'matches' set to true.
| Parameter | Type | 
|---|---|
| key | text | 
| matches | boolean | 
 MaxAttemptsReached
Maximum attempts reached. Example: If the maximum attempts is set to 5 and the user has reached 5 attempts, this event will be triggered.
| Parameter | Type | 
|---|---|
| timeoutSeconds | number | 
Methods:
WordConnect has total 32 methods.
 Initialize
Initialize the ConnectPatternView within a given HorizontalArrangement or VerticalArrangement.
| Parameter | Type | 
|---|---|
| arrangement | component | 
 BackgroundColorRGB
Set background color using RGB values
| Parameter | Type | 
|---|---|
| red | number | 
| green | number | 
| blue | number | 
 BackgroundColorARGB
Set background color using ARGB values (with alpha transparency)
| Parameter | Type | 
|---|---|
| alpha | number | 
| red | number | 
| green | number | 
| blue | number | 
 TransparentBackground
Set transparent background
 GradientBackground
Set gradient background. Example: SetGradientBackground(Color.RED, Color.BLUE, true)
| Parameter | Type | 
|---|---|
| startColor | number | 
| endColor | number | 
| isVertical | boolean | 
 AnimateIn
Animate the pattern view in
 AnimateOut
Animate the pattern view out
 TwelveCircles
Set to 12 circle pattern (3x4 grid)
 SixteenCircles
Set to 16 circle pattern (4x4 grid)
 Enabled
Set the pattern view enabled or disabled
| Parameter | Type | 
|---|---|
| enabled | boolean | 
 AnimateInWithDelay
Animate in with delay (in milliseconds)
| Parameter | Type | 
|---|---|
| delay | number | 
 AnimateOutWithDelay
Animate out with delay (in milliseconds)
| Parameter | Type | 
|---|---|
| delay | number | 
 CurrentPattern
Get current pattern as string. Example: CurrentPattern() returns '12345' for a pattern connecting points 1, 2, 3, 4, and 5.
 ResetToDefaults
Reset to default settings
 ValidPattern
Check if the current pattern is valid. Example: ValidPattern() returns true if the pattern has the minimum required points.
 CheckPattern
Check if the current pattern matches a specific pattern. Example: CheckPattern('123') checks if the current pattern matches '123'.
| Parameter | Type | 
|---|---|
| pattern | text | 
 PatternLength
Get the current pattern length. Example: PatternLength() returns the number of points in the current pattern.
 ValidPatternLength
Check if pattern meets minimum length requirement. Example: ValidPatternLength(5) checks if the current pattern length is at least 5.
| Parameter | Type | 
|---|---|
| minLength | number | 
 VerifyPattern
Load and verify a saved pattern. Example: VerifyPattern('patternKey') verifies the pattern saved under 'patternKey' and returns true if it matches the current pattern.
| Parameter | Type | 
|---|---|
| patternKey | text | 
 AttemptLimit
Sets the maximum number of attempts and timeout duration for pattern verification. Example: SetAttemptLimit(5, 60) sets the maximum attempts to 5 and timeout to 60 seconds.
| Parameter | Type | 
|---|---|
| maxAttempts | number | 
| timeoutSeconds | number | 
 RemainingAttempts
Get the number of remaining attempts before the timeout period expires. Example: If the maximum attempts is set to 5 and the user has made 3 attempts, this function will return 2, indicating 2 remaining attempts before the timeout period expires.
 ResetAttemptCounter
Reset pattern attempt counter. This function resets the counter for the number of attempts made to verify a pattern. Example: If the user has made 3 attempts to verify a pattern and wants to start fresh, this function can be called to reset the attempt count to 0.
 SavePattern
Save an encrypted pattern. Example: SavePattern('patternKey', 'patternString')
| Parameter | Type | 
|---|---|
| patternKey | text | 
| pattern | text | 
 Letters
Set letters for all dots. Use | to separate letters (e.g. 'A|B|C')
| Parameter | Type | 
|---|---|
| letters | text | 
 Letter
Set letter at a specific position (0-8)
| Parameter | Type | 
|---|---|
| position | number | 
| letter | text | 
 ShowParticles
Trigger success particle effect
 ShapeType
Set the shape of dots (circle, square, triangle, oval, pentagon, hexagon, star)
| Parameter | Type | 
|---|---|
| shapeName | any | 
 CircleShape
Set circle shape for dots
 SquareShape
Set square shape for dots
 TriangleShape
Set triangle shape for dots
 PentagonShape
Set pentagon shape for dots
 StarShape
Set star shape for dots
 OvalShape
Set oval shape for dots
 HexagonShape
Set hexagon shape for dots
 StarShape
Set star shape for dots
Setters:
WordConnect has total 15 setter properties.
 CircleColor
Set the color of the circles
- Input type: 
number 
 BackgroundColor
Set background color of the pattern view
- Input type: 
number 
 BackgroundAlpha
Set background alpha (transparency) value (0-255)
- Input type: 
number 
 NumberOfConnectors
Get current number of connectors
- Input type: 
number 
 LineColor
Set the color of pattern lines
- Input type: 
number 
 AnimationType
Set animation type (0 = None, 1 = Middle, 2 = Bottom)
- Input type: 
number 
 CircleRadius
Set circle radius in dp
- Input type: 
number 
 PatternVisible
Set pattern visibility
- Input type: 
boolean 
 MinimumPatternLength
Set minimum required pattern length. Example: MinimumPatternLength(5) sets the minimum pattern length to 5.
- Input type: 
number 
 ShowPatternLine
Enable/disable pattern visibility during drawing
- Input type: 
boolean 
 LineWidth
Set the width of pattern lines
- Input type: 
number 
 LetterColor
Set the color of letters
- Input type: 
number 
 LetterSize
Set the size of letters in dp
- Input type: 
number 
 ParticleColor
Set the color of success particles
- Input type: 
number 
 Shape
Set the shape of dots (circle, square, triangle, oval, pentagon, hexagon, star)
- Input type: 
any - Helper class: 
Shape - Helper enums: 
Circle,Square,Triangle,Ovel,Pentagon,Hexagon,Star 
Getters:
WordConnect has total 11 getter properties.
 CircleColor
Set the color of the circles
- Return type: 
number 
 White
Returns the color White
- Return type: 
number 
 Black
Returns the color Black
- Return type: 
number 
 Red
Returns the color Red
- Return type: 
number 
 Green
Returns the color Green
- Return type: 
number 
 Blue
Returns the color Blue
- Return type: 
number 
 Transparent
Returns a transparent color
- Return type: 
number 
 NumberOfConnectors
Get current number of connectors
- Return type: 
number 
 LineColor
Set the color of pattern lines
- Return type: 
number 
 AnimationType
Set animation type (0 = None, 1 = Middle, 2 = Bottom)
- Return type: 
number 
 LineWidth
Set the width of pattern lines
- Return type: 
number 
 Letters
Get the current letters as a string (separated by '|')
- Return type: 
text 
 Shape
Set the shape of dots
- 
Return type:
text
 
Helper:
WordConnect has total 7 Helpers properties.
CIRCLE
Option for CIRCLE
- Returns: CIRCLE
Deprecated:false 
SQUARE
Option for SQUARE
- Returns: SQUARE
Deprecated:false 
TRIANGLE
Option for TRIANGLE
- Returns: TRIANGLE
Deprecated:false 
OVAL
Option for OVAL
- Returns: OVAL
Deprecated:false 
PENTAGON
Option for PENTAGON
- Returns: PENTAGON
Deprecated:false 
HEXAGON
Option for HEXAGON
- Returns: HEXAGON
Deprecated:false 
STAR
Option for STAR
- Returns: STAR
Deprecated:false 
Thanks
TechHamara
Extension Documents generated by akshatdeveloper
here