ArticleslgStudy

computer science

Croquet Project

Croquet Project is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Croquet Project rather than just read about it. In short: The Croquet Project is a software project that was intended to promote the continued development of the Croquet open-source software development kit to create and deliver collaborative multi-user online applications. Croquet is implemented in Squeak Smalltalk.

Croquet Project — main illustration
Croquet Project — illustration

Key takeaways

  • Croquet Project belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Croquet Project to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Croquet Project from memory before moving on to harder problems.

Reference excerpt

The Croquet Project is a software project that was intended to promote the continued development of the Croquet open-source software development kit to create and deliver collaborative multi-user online applications. Croquet is implemented in Squeak Smalltalk. Croquet supports communication, collaboration, resource sharing, and synchronous computation among multiple users. Applications created with the Croquet software development kit can be used to support collaborative data visualization, virtual learning and problem solving environments, 3D wikis, online gaming environments (massively multiplayer online role-playing games (MMORPGs)), and privately maintained or interconnected multiuser virtual environments. Further development of the technology has also branched into the Open Cobalt and Open Croquet efforts. The most recent iteration of Croquet is a commercial product developed by Croquet Labs. This version of Croquet runs in a web browser and allows programs to be written in JavaScript or WebAssembly.

Technical functions

Croquet is a software development kit (SDK) for use in developing collaborative virtual world applications. Applications created using the Croquet SDK are automatically collaborative since application objects in Croquet share a common protocol allowing them to cooperate with each other by employing the principle of replicated computation (synchronization) together with a peer-based messaging protocol. The technology is designed to facilitate such replication between peers, to greatly reduce the overhead needed for widespread deployment of collaborative virtual worlds. This efficiency, combined with the ability to deploy Croquet-based virtual worlds on consumer-level hardware, makes it possible for developers to deploy large-scale and highly participatory collaborative worlds at very low cost compared with virtual world technologies that are entirely dependent on server-based infrastructures to support the activities of their users.

Architecture

Virtual machines Croquet's virtual machine (VM) runs bit identically on multiple platforms, and supports multiple abilities that could only be provided by a true late bound, message sending language. Croquet's relationship to Squeak gives Croquet the property of a purely object-oriented system allowing for significant flexibility in the design and the nature of the protocols and architectures that have been developed for the system. Because of this, Croquet has the ability to keep running while code is modified and tested, while changes are made, an essential part of the Croquet collaborative development ability. Users can change the code running the environment while the environment runs.

Synchronization architecture Croquet's time-based synchronization abilities enable real-time, identical interactions between groups of users while dramatically reducing the need for server infrastructures to support virtual world deployment. Croquet's architecture is designed to make it easy to develop deeply collaborative applications without having to spend a lot of effort and expertise in understanding how replicated applications work. TeaTime is a scalable real-time multi-user architecture that is the basis for Croquet's object-object communication and synchronization. It is designed to support multi-user applications that can be scaled to massive numbers of concurrently interacting users in a shared virtual space. The most directly visible part of this architecture is the TObject class which is used to define and construct subclassed Tea objects. All of the interesting objects inside of Croquet are constructed from subclasses of TObject. A Tea object acts with the property that messages sent to it are redirected to replicated copies of itself on other users' participating machines in a peer-to-peer network. This messaging protocol supports a coordinated distributed two-phase commit that is used to control the progression of computations at participating user sites. In this way messages may be dynamically redirected to large numbers of users while maintaining the appropriate deadline-based scheduling. Thus, TeaTime is designed to allow for a great deal of adaptability and resilience and works on a heterogeneous set of resources. It is a framework of abstraction that works over a range of implementations and that can be evolved and tuned over time, both within an application and across applications. Key elements of the TeaTime synchronization architecture include:

A coordinated universal timebase embedded in communication protocol Replicated, versioned objects that unify replicated computation and distribution of results Replication strategies that separate the mechanisms of replication from the behavioral semantics of objects Deadline-based scheduling extended with failure and nesting Coordinated, distributed two-phase commit that is used to control the progress of computations at multiple sites, to provide resilience, deterministic results, and adaptation to available resources Uses distributed sets

Immersive Terf The original authors of Croquet opened a commercial company named Qwaq which was later renamed to Teleplace. That technology was later sold back to a group of the original Croquet developers and became Immersive Terf.

… excerpt ends here. Continue reading the full article.

Illustrations

Croquet Project: Adding 3D Notes linked to 3D objects and places
Adding 3D Notes linked to 3D objects and places
Croquet Project: Croquet allows users to edit the source code of the 3D world from within the world, and immediately see the result, while the world is still running. The running program does not need to be ended, and there is no compile-link-run-debug development loop. Any part of the program may be edited, down to the VM and OpenGL calls.
Croquet allows users to edit the source code of the 3D world from within the world, and immediately see the result, while the world is still running. The running program does not need to be ended, and there is no compile-link-run-debug development loop. Any part of the program may be edited, down to the VM and OpenGL calls.
Croquet Project: Croquet avatar with wireframe portal, eToy, and mirror
Croquet avatar with wireframe portal, eToy, and mirror
Croquet Project: Multi-user, multi-lingual text editing in 3D
Multi-user, multi-lingual text editing in 3D
Croquet Project: Croquet Spreadsheet
Croquet Spreadsheet

Worked examples

Example 1 — a first encounter with Croquet Project

Start with the simplest possible case. Write down what Croquet Project claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Croquet Project before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Croquet Project ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Croquet Project

In research
Croquet Project appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Croquet Project in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Croquet Project is common in secondary-school and first-year university syllabi. It links to neighbouring topics 3D GUIs, 3D scenegraph APIs, Groupware, so understanding it makes those chapters shorter.
In everyday life
Look for Croquet Project outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Croquet Project” →

How to study Croquet Project in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Croquet Project means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Croquet Project out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Croquet Project in simple terms?

The Croquet Project is a software project that was intended to promote the continued development of the Croquet open-source software development kit to create and deliver collaborative multi-user online applications. Croquet is implemented in Squeak Smalltalk.

Why does Croquet Project matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Croquet Project?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Croquet Project.

Tags

  • 3D GUIs
  • 3D scenegraph APIs
  • Groupware
  • Information technology management
  • Software using the MIT license
  • Virtual world communities

Keep exploring